I have 2 servers, A & B, both running CentOS 5.7.
If I ssh using Putty from Windows 7 to server A or B, the password prompt is quick
But if I ssh from Ubuntu 11.10 to server A, the password prompt takes a long time, almost 2 minutes; while server B password prompt is quick, though not as quick as using Putty.
htw@htw-HP-ProBook-4421s:~$ time ssh [email protected] [email protected]'s password: Connection closed by A.biz real 2m33.170s htw@htw-HP-ProBook-4421s:~$ time ssh [email protected] [email protected]'s password: real 0m1.904s
There shouldn't be anything wrong with both servers since ssh-ing from Win 7 is quick. The puzzling bit is logging onto server B is faster than onto server A using Ubuntu. Both servers sshd.conf are already set to
How do I debug this?