You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SSH Login Stuck At : "debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP"

Closed
1
Views
0
Comments
edited Jun 30, 2022 1:52PM in Linux

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 <[email protected]>

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!