How to connect to a RHEL 8 system running FIPS using PuTTY
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.