SeLoRe28
By:
SeLoRe28

When I login to ssh delaying entry password

January 5, 2015 612 views

when I login from ssh user as root waiting too much and after I can entry my password. I found this fix https://forums.opensuse.org/showthread.php/453695-Login-very-slow-waiting-for-password-prompt
but this was not fix for me Do you have any fix ? my OS is Centos 6.5 x64

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
Have another answer? Share your knowledge.