Why do password entries over ssh take so long?
- by Dean
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)