RHEL-09-255080 - RHEL 9 must not allow a noncertificate trusted host SSH logon to the system.

Information

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

Solution

To configure RHEL 9 to not allow a noncertificate trusted host SSH logon to the system, add or modify the following line in "/etc/ssh/sshd_config" or in a file in "/etc/ssh/sshd_config.d".

HostbasedAuthentication no

Restart the SSH daemon for the settings to take effect:

$ sudo systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257992r1045047_rule, STIG-ID|RHEL-09-255080, Vuln-ID|V-257992

Plugin: Unix

Control ID: 45b432a23ed306e8d8c1143a2191a60859d9c324e797b575262b7f9635cc6bb6