sshd ignores Ciphers, MACs, and KexAlgorithms in /etc/ssh/sshd_config on RHEL 9

Solution Verified - Updated -

Issue

  • On RHEL 9, sshd ignores Ciphers, MACs, and KexAlgorithms in /etc/ssh/sshd_config, along with the crypto-policies system opt-out CRYPTO_POLICY= line in /etc/sysconfig/sshd.

Environment

  • Red Hat Enterprise Linux 9
  • openssh-server
  • crypto-policies

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