The message client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0: error in libcrypto output during ssh login from RHEL9 to RHEL7.

Solution Unverified - Updated -

Issue

  • The below message output during ssh login from RHEL9.0 to RHEL7.

    client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0: error in libcrypto
    

Environment

  • Red Hat Enterprise Linux 9.0
  • openssh-clients-8.7p1-8.el9

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