ssh speed Solution
时间:2006-03-24 来源:lonner
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.
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.
相关阅读 更多 +