Monday, January 11, 2016

ssh login delays 12 seconds

Hi,

Been hitting my head off for the past hour or so to resolve my ssh login lag of about 12 seconds to a centos server.
The fix can be done in the client if you are using putty by disabling GSAPI option:
   Connection/ssh/auth/GSAPI
   Attemp t GSAPI authentication (SSH-2 only)

To fix it permanently, then I believe that you will have to do it in the server. Let's try ...
I am using centos:

Did the following in /etc/ssh/sshd_config:
# GSSAPI options
GSSAPIAuthentication no
#GSSAPIAuthentication yes

It worked! Now, I have no 12 second delay!

No comments: