RHEL-07-040380 - The Red Hat Enterprise Linux operating system must be configured so that the SSH daemon does not allow authentication using known hosts authentication.

Information

Configuring this setting for the SSH daemon provides additional assurance that remote logon via SSH will require a password, even in the event of misconfiguration elsewhere.

Solution

Configure the SSH daemon to not allow authentication using known hosts authentication.

Add the following line in '/etc/ssh/sshd_config', or uncomment the line and set the value to 'yes':

IgnoreUserKnownHosts yes

The SSH service must be restarted for changes to take effect.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204593r991589_rule, STIG-ID|RHEL-07-040380, STIG-Legacy|SV-86873, STIG-Legacy|V-72249, Vuln-ID|V-204593

Plugin: Unix

Control ID: 20b2514b54101de1f5111f8297b7c1f6c1ef841757611adfa2188b2637ee7d40