Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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
    Hostname your.host.address
    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 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 at 8:33

Your Answer

 
discard

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.