I used to be able to use nautilus and go to the location bar and "ssh://[email protected]" into a remote server and do things like drag and drop files. However, that remote server added two-factor authentication with duo (e.g. if I ssh
in a terminal, after giving my correct password I now have to do a duo 2FA.
Duo two-factor login for nouyang
Enter a passcode or select one of the following options:
1. Duo Push to XXX-XXX-1234
2. Phone call to XXX-XXX-1234
If I try to use ssh in nautilus, it just asks me for my password three times and then fails (or spins for a while and says "oops! unhandled error message: timed out when logging in"
).
I would really like a graphical interface, since the alternative is scp
but now each time I use scp
I also have to go through this process. Is there any way to do so?
GNOME nautilus 3.26.4
If all else fails, I have helped someone use FileZilla with Duo.
Install it with
sudo apt install filezilla
If for some reason apt cannot find it, you can download it here
One complaint I have seen is having to input the password, and DUO code in every single time you go to transfer a file. The key is to go into the settings and change the simultaneous connections to "1".
That should keep the connection from automatically disconnecting after each transfer.