Removing SSH-RSA causing other SHA2 based HostKeyAlgorithms getting disabled in OpenSSH_7.4p1

Solution Verified - Updated -

Issue

  • How to disable only ssh-rsa in Red Hat Enterprise Linux 7.9 and previous versions.
  • Disabling ssh-rsa causing other *-sha2-* based algorithms also getting disabled in RHEL7

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7 (RHEL7)
  • All the versions prior to openssh-7.4p1-22.el7_9.x86_64

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