SLEM-05-255075 - SLEM 5 SSH daemon must be configured to 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 SLEM 5 SSH daemon to not allow authentication using "known hosts" authentication.

Add or modify the following line in the "/etc/ssh/sshd_config" file:

IgnoreUserKnownHosts yes

Restart the SSH daemon in order for the changes to take effect:

> sudo systemctl restart sshd.service

See Also

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