GNOME Bugzilla – Bug 726101
Nautilus SSH connection timeout when passphrase is prompted but password required
Last modified: 2021-06-18 15:28:28 UTC
Nautilus 3.4.2 I have an SSH key installed in my homedir, but I do not want to (and cannot) use the key to connect to a particular remote server when mounting an SSH share in Nautilus. As a result, Nautilus is timing out when trying to make the connection (it appears to be using my input password as the passphrase, as ssh defaults to using the key). When connecting with the SSH command, I would use something like the following to prevent my passphrase being requested: ssh -o PreferredAuthentications=keyboard-interactive,password -l admin www.example.com However, I cannot find any way to force Nautilus to do the same. As far as I can tell, Nautilus is therefore using my input password for the passphrase. I have managed to workaround this by using the following .ssh/config: Host www.example.com PreferredAuthentications keyboard-interactive,password But even that is messy as I *do* sometimes need to connect to the same host using a passphrase and key, but as a different remote username. I can't see an easy solution to this, but consider that an option in the Nautilus SSH "connect to server" dialogue box would be useful, to be able to specify a password or key connection. Interestingly during my research I have come across other people who have been confused by having to put their passphrase into the password dialogue box. Sorry if this problem has been fixed with a newer version of Nautilus. I attempted to compile the latest version, but ran into dependency nightmares :(
Related distro bug is https://bugs.launchpad.net/ubuntu/+bug/1290606
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.