Skip to main content
Sachin_Alex_Cherian_
Staff
Staff
May 17, 2022 12:02 PM UTC

Technical Tip: How to avoid the use of SSH Weak Message Authentication Code Algorithms

  • Apr 16, 2026 12:56 PM UTC
  • 0 replies
  • 5279 views
  • Translate All

Description

This article explains how to overcome vulnerabilities related to SSH Weak Message Authentication Code Algorithms when performing vulnerability assessments against the FortiGate.

Scope

FortiOS v7.0 and above.

Solution

Vulnerabilities related to Weak MAC algorithms can be resolved by running the following:

 

config system global

    set ssh-mac-algo <>

end

 

The following algorithms are available:

 

hmac-sha2-256

hmac-sha2-256-etm@openssh.com

hmac-sha2-512

hmac-sha2-512-etm@openssh.com

 

Specify stronger algorithms specifically to be used.

As a result, it is possible to avoid the possibility of vulnerabilities being detected due to weaker algorithms being used for connections.

 

Note:

Starting from v7.4.4, the ssh-xxx-algo commands have been moved from 'config system global setting' to 'config system ssh-config setting'.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024