How to disable the non etm mac algorithms for SSH, when using system-wide cryptographic policies ?

Solution Verified - Updated -

Issue

  • In the system-wide cryptographic policy, disable below Non-ETM MAC algorithms for SSH.

    hmac-sha2-256
    umac-128@openssh.com
    hmac-sha2-512
    
  • Enable only the etm ( Encrypt then mac) MAC algorithms.

    hmac-sha2-256-etm@openssh.com
    umac-128-ethm@openssh.com
    hmac-sha2-512-etm@openssh.com
    

Environment

  • Red Hat Enterprise Linux 8, 9 and 10
  • openssh
  • 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