When I login to ssh delaying entry password

Posted January 5, 2015 1.6k views

when I login from ssh user as root waiting too much and after I can entry my password. I found this fix
but this was not fix for me Do you have any fix ? my OS is Centos 6.5 x64

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I found fix. If have anyone this problem do that

run command:

yum install nano

run command:

nano /etc/ssh/sshd_config

and press ctrl+w for search line GSSAPIAuthentication
edit it as GSSAPIAuthentication no dont forget remove # the beginning of the line

and press again ctrl+w for search line UseDNS
edit it as UseDNS no dont forget remove # the beginning of the line

The last, run command for restart ssh daemon

service sshd restart