Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm connecting to a remote server in Nautilus using an URL of the form s 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

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

share|improve this question
up vote 6 down vote accepted

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

Protocol 2
Host yourhost
    User youruser
    GSSAPIAuthentication no
    Port 1234

For more options, consult man ssh_config

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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