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

Solution Verified - Updated -

Issue

  • 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
    

Environment

  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content