6

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?

1 Answer 1

7

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

2
  • 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, 2014 at 19:11
  • To make it a default setting, just put it into the same file but before any Host statements. Apr 30, 2014 at 8:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .