How to connect to a RHEL 8 system running FIPS using PuTTY

Solution Verified - Updated -

Issue

  • Connecting using PuTTY/RSA public key to a RHEL 8 system running FIPS-140-2, the connection fails, as reported in /var/log/secure

    TIMESTAMP sshd[PID]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes [preauth]
    
  • Connection using PuTTY/RSA public key to a RHEL 7 system running FIPS-140-2 works fine

Environment

  • Red Hat Enterprise Linux 8
  • Crypto policy FIPS
  • PuTTY
  • Public key using ssh-rsa or ssh-rsa-cert-v01@openssh.com

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