Speeding up SSH Logins in Ubuntu

| No Comments | No TrackBacks

After getting access to some new machines, I noticed that SSHing too them was excruciatingly slow, taking 5-10 seconds to ask for a password and no faster using keys. I pulled open the global SSH config file, /etc/ssh/ssh_config on my Ubuntu machine and found a couple of GSSAPI things that were enabled by default:

GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes

The machines I was SSHing to don't do GSSAPI, so every time I tried to connect my client had to wait a short timeout before trying other authentication methods. Since I don't care about GSSAPI (few people use it), I simply set those options to no and now my SSH sessions start much more quickly.

No TrackBacks

TrackBack URL: http://dinomite.net/cgi-bin/mt/mt-tb.cgi/257

Leave a comment

Pages

About this Entry

This page contains a single entry by Drew Stephens published on September 5, 2008 10:23 AM.

No-Tech Hacking was the previous entry in this blog.

Shell Command Substitution is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.