Why do password entries over ssh take so long?

Posted by Dean on Super User See other posts from Super User or by Dean
Published on 2012-07-10T01:51:46Z Indexed on 2012/07/10 3:17 UTC
Read the original article Hit count: 370

Filed under:
|
|

When I'm ssh'd into my server, any time I enter my password, there's a 40 second delay before the server responds.

This occurs when logging in, as well as whenever I run a command via sudo. The delay does not happen when I run su and enter my password however.

Using the -v flag for ssh doesn't show anything during this time. Looking at Wireshark, all traffic between the two machines stops while this is happening.

Any idea what's happening, or advice on how to investigate this?

The server is running Debian squeeze (6.0.4)

© Super User or respective owner

Related posts about linux

Related posts about ssh