SV-225139r610901_rule
V-225139
SRG-OS-000163-GPOS-00072
AOSX-15-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-225139
False
AOSX-15-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
4212