SV-230765r599842_rule
V-230765
SRG-OS-000163-GPOS-00072
APPL-11-000052
CAT II
10
To ensure that the SSH idle timeout occurs precisely when the "ClientAliveCountMax" is set, run the following command:
/usr/bin/sudo /usr/bin/sed -i.bak 's/.*ClientAliveCountMax.*/ClientAliveCountMax 0/' /etc/ssh/sshd_config
The SSH daemon "ClientAliveCountMax" option must be set correctly. To verify the SSH idle timeout will occur when the "ClientAliveCountMax" is set, run the following command:
/usr/bin/grep ^ClientAliveCountMax /etc/ssh/sshd_config
If the setting is not "ClientAliveCountMax 0", this is a finding.
V-230765
False
APPL-11-000052
The SSH daemon "ClientAliveCountMax" option must be set correctly. To verify the SSH idle timeout will occur when the "ClientAliveCountMax" is set, run the following command:
/usr/bin/grep ^ClientAliveCountMax /etc/ssh/sshd_config
If the setting is not "ClientAliveCountMax 0", this is a finding.
M
5246