SV-227904r603266_rule
V-227904
SRG-OS-000480
GEN005536
CAT II
10
Edit the SSH daemon configuration and change the StrictModes setting value to yes or remove it entirely.
Check the SSH daemon configuration for the StrictModes setting.
# grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#'
If the setting is present and not set to yes, this is a finding.
V-227904
False
GEN005536
Check the SSH daemon configuration for the StrictModes setting.
# grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#'
If the setting is present and not set to yes, this is a finding.
M
4061