[FIPS] ssh to RHEL6 server fails with message "ssh_dispatch_run_fatal: Connection to XXX port 22: invalid argument"

Solution Verified - Updated -


  • On a RHEL8 system with FIPS enabled, connecting to a RHEL6 system fails, ssh -v displays the following message

    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
    debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
    ssh_dispatch_run_fatal: Connection to XXX port 22: invalid argument


  • Red Hat Enterprise Linux 8

    • openssh-clients (ssh)
    • FIPS
  • Red Hat Enterprise Linux 6

    • openssh (sshd)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In