4.380 - The 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://docs.fedoraproject.org/f28/system-administrators-guide/index.html

Item Details

Category: ACCESS CONTROL, IDENTIFICATION AND AUTHENTICATION

References: 800-53|AC-14, 800-53|IA-5, CAT|II, CCI|CCI-000366

Plugin: Unix

Control ID: 390ef36614f81f35f668818470afba91f76a3c5852ff360733878903aa2e3975