I am having exactly the same problem that Ilya described. The problem
appeared out of nowhere 1 week ago on many (but not all) of our production
servers running COPSSH. No errors, but an SSH login that used to take 3-5
seconds now takes > 90 seconds. I can clear see a delay of exactly 45
seconds here:
...
debug1: Trying private key: /home/dbmsmonitor/.ssh/id_rsa
debug3: no such identity: /home/dbmsmonitor/.ssh/id_rsa
debug1: Offering DSA public key: /home/dbmsmonitor/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
(45 second delay).
... followed by a shorter, second delay at the same place the Ilya
described.
Not all of our production servers (running COPSSH on Windows) have the
problem, but even rebooting a server can make the problem appear. I've
tried:
- Different SSH clients (ssh, putty, etc.).
- Changing SSHD_CONFIG options. including turning off DNS (I can see that it
gets past the DNS lookup OK).
- Specifying many of the SSH -o client options.
- Reinstalling COPSSH.
Any ideas? I'm desperate. :@(