using PubkeyAcceptedKeyTypes in sshd_config breaks ssh connect from RHEL7
Issue
- ssh should work between RHEL7 and RHEL8 even with
PubkeyAcceptedKeyTypes
defined. It should be possible to limit the Accepter Keytypes. - After limiting PubkeyAcceptedKeyTypes for hardening to below same setting works without problem with RHEL7.
PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- ssh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.