SV-235007r622137_rule
V-235007
SRG-OS-000480-GPOS-00227
SLES-15-040230
CAT II
10
Configure the SUSE operating system 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
Verify the SUSE operating system SSH daemon is configured to not allow authentication using "known hosts" authentication.
To determine how the SSH daemon's "IgnoreUserKnownHosts" option is set, run the following command:
> sudo grep -i IgnoreUserKnownHosts /etc/ssh/sshd_config
IgnoreUserKnownHosts yes
If the value is returned as "no", the returned line is commented out, or no output is returned, this is a finding.
V-235007
False
SLES-15-040230
Verify the SUSE operating system SSH daemon is configured to not allow authentication using "known hosts" authentication.
To determine how the SSH daemon's "IgnoreUserKnownHosts" option is set, run the following command:
> sudo grep -i IgnoreUserKnownHosts /etc/ssh/sshd_config
IgnoreUserKnownHosts yes
If the value is returned as "no", the returned line is commented out, or no output is returned, this is a finding.
M
5274