Slow SSH Connection

Posted on Monday April 25, 2011 / by Eric Potvin

Have you experienced some long delays when you want to connect to a remote server using SSH?

If so, edit the /etc/ssh/ssh_config file using the following command:

sudo vi /etc/ssh/ssh_config

Comment out the following lines:

GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

expected result:

#GSSAPIAuthentication yes
#GSSAPIDelegateCredentials no

Save the file and exit