SV-258882r991589_rule
V-258882
SRG-OS-000480-GPOS-00227
PHTN-40-000219
CAT II
10
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "MaxAuthTries" line is uncommented and set to the following:
MaxAuthTries 6
At the command line, run the following command:
# systemctl restart sshd.service
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i MaxAuthTries
Example result:
maxauthtries 6
If "MaxAuthTries" is not set to "6", this is a finding.
V-258882
False
PHTN-40-000219
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i MaxAuthTries
Example result:
maxauthtries 6
If "MaxAuthTries" is not set to "6", this is a finding.
M
5569