SV-256556r991589_rule
V-256556
SRG-OS-000480-GPOS-00227
PHTN-30-000087
CAT II
10
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "IgnoreUserKnownHosts" line is uncommented and set to the following:
IgnoreUserKnownHosts yes
At the command line, run the following command:
# systemctl restart sshd.service
At the command line, run the following command:
# sshd -T|&grep -i IgnoreUserKnownHosts
Expected result:
IgnoreUserKnownHosts yes
If the output does not match the expected result, this is a finding.
V-256556
False
PHTN-30-000087
At the command line, run the following command:
# sshd -T|&grep -i IgnoreUserKnownHosts
Expected result:
IgnoreUserKnownHosts yes
If the output does not match the expected result, this is a finding.
M
5520