SSH Login Stuck At : "debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP" OL 7

(Doc ID 2393654.1)

Last updated on MAY 03, 2018

Applies to:

Linux OS - Version Oracle Linux 7.4 with Unbreakable Enterprise Kerne [4.1.12] and later
Information in this document applies to any platform.

Symptoms

When we try to login via SSH, the session becomes stuck and by adding "-vvv" option, we saw that it hung with below messages

debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

Changes

 

MTU was set to 9000 :

 

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms