SV-215290r648727_rule
V-215290
SRG-OS-000279-GPOS-00109
AIX7-00-002105
CAT II
10
Add or update the following lines in "/etc/ssh/sshd_config":
ClientAliveInterval 600
ClientAliveCountMax 0
Restart sshd:
# stopsrc -s sshd
# startsrc -s sshd
Run the following command to check if "ClientAliveInterval" and "ClientAliveCountMax" are set for SSH server:
# grep -E "^ClientAliveInterval|^ClientAliveCountMax" /etc/ssh/sshd_config
ClientAliveInterval 600
ClientAliveCountMax 0
If "ClientAliveCountMax" is not set or its value is not "0", this is a finding.
If "ClientAliveInterval" is not set, or its value is not "600" (10-minutes) or less, this is a finding.
V-215290
False
AIX7-00-002105
Run the following command to check if "ClientAliveInterval" and "ClientAliveCountMax" are set for SSH server:
# grep -E "^ClientAliveInterval|^ClientAliveCountMax" /etc/ssh/sshd_config
ClientAliveInterval 600
ClientAliveCountMax 0
If "ClientAliveCountMax" is not set or its value is not "0", this is a finding.
If "ClientAliveInterval" is not set, or its value is not "600" (10-minutes) or less, this is a finding.
M
4012