ssh :: slow login

Problem :
While using ssh to connect to a system, it takes long time ( about 20 secs in 100 mbps LAN) to login. Though the connection after loggin in quite perfect (realtime).

I had a similar problem with research server.

ssh -v -v -v smr@research… shows the delay after following line
debug1: SSH2_MSG_SERVICE_REQUEST sent

Solution :
* Make sure that the problem is not with DNS lookup etc
* PermitEmptyPasswords no [ disable Empty Passwords it in sshd_config]

After trying bruteforce on /etc/hosts , sshd_config i finally got it. Google didnt help me with the problem, though found the thread at many places, but none of them had the solution.

One Response to “ssh :: slow login”

  1. Matthew Bradley Says:

    thanks for the info

Leave a Reply