SSH connection from RHEL 6 to RHEL 8(fips) fails with messages "no hostkey alg"

Solution Verified - Updated -

Issue

  • SSH from RHEL6 to RHEL8 is failing while running RHEL8 in FIPS mode.
  • Getting below SSH debug output :
debug2: mac_setup: found hmac-sha1
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug2: mac_setup: found hmac-sha1
debug1: kex: client->server aes128-ctr hmac-sha1 none
no hostkey alg
  • SSH interoperability of RHEL8 in FIPS mode.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 8
  • openssh

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