5

I'm connecting to a remote server in Nautilus using an URL of the form sftp://server.com. However, due to a thing with that server I need to add an option when connecting via SSH, otherwise the login is very, very slow:

ssh -o GSSAPIAuthentication=no server.com

Is there a way to use this option in Nautilus with SFTP?

6

You could create ~/.ssh/config with an appropriate config entry for your host like so:

Protocol 2
Host yourhost
    User youruser
    Hostname your.host.address
    GSSAPIAuthentication no
    Port 1234

For more options, consult man ssh_config

  • This works when the hostname is some fixed domain or IP, but is there a solution when this isn't known beforehand? – Mark Apr 29 '14 at 19:11
  • To make it a default setting, just put it into the same file but before any Host statements. – Florian Heinle Apr 30 '14 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.