SSH Login Stuck At : "debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP"
SSH connections hang, and errors such as SSH2_MSG_KEX_DH_GEX_GROUP or SSH2_MSG_KEX_ECDH_REPLY are seen in verbose logging output or in /var/log/messages.
When trying to log in to an ssh instance, the login attempt hangs.
The output from ssh running with verbose logging enabled, via the command:
# ssh -vvv <USERNAME@HOSTNAME>
shows error messages like:
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
These messages may also appear in the /var/log/messages log file.
If network packet information is captured while the issue is occurring, such as via the tcpdump utility, packets larger than the 1500 may be being retransmitted, such as in this example:
Tagged:
0