SV-209546r610285_rule
V-209546
SRG-OS-000163-GPOS-00072
AOSX-14-000051
CAT II
10
To ensure that "ClientAliveInterval" is set correctly, run the following command:
/usr/bin/sudo /usr/bin/sed -i.bak 's/.*ClientAliveInterval.*/ClientAliveInterval 900/' /etc/ssh/sshd_config
The SSH daemon "ClientAliveInterval" option must be set correctly. To check the idle timeout setting for SSH sessions, run the following:
/usr/bin/sudo /usr/bin/grep ^ClientAliveInterval /etc/ssh/sshd_config
If the setting is not "900" or less, this is a finding.
V-209546
False
AOSX-14-000051
The SSH daemon "ClientAliveInterval" option must be set correctly. To check the idle timeout setting for SSH sessions, run the following:
/usr/bin/sudo /usr/bin/grep ^ClientAliveInterval /etc/ssh/sshd_config
If the setting is not "900" or less, this is a finding.
M
2930