Skip to content

AlmaLinux OS 9 must not allow a noncertificate trusted host SSH logon to the system.

An XCCDF Rule

Description

SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts.

ID
SV-269264r1050146_rule
Version
ALMA-09-020810
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the AlmaLinux OS 9 SSH daemon to not allow a noncertificate trusted host SSH logon to the system with the following command:

Add the following line to "/etc/ssh/sshd_config", or uncomment the line and set the value to "no":

HostbasedAuthentication no