SV-216119r603268_rule
V-216119
SRG-OS-000163
SOL-11.1-040380
CAT III
10
The root role is required.
Configure the system to disconnect SSH sessions after 10 minutes of inactivity.
Modify the sshd_config file:
# pfedit /etc/ssh/sshd_config
Modify or add the lines containing:
ClientAliveInterval
ClientAliveCountMax
Change them to:
ClientAliveInterval 600
ClientAliveCountMax 0
Restart the SSH service:
# svcadm restart svc:/network/ssh
Determine if SSH is configured to disconnect sessions after 10 minutes of inactivity.
# grep ClientAlive /etc/ssh/sshd_config
If the output of this command is not:
ClientAliveInterval 600
ClientAliveCountMax 0
this is a finding.
V-216119
False
SOL-11.1-040380
Determine if SSH is configured to disconnect sessions after 10 minutes of inactivity.
# grep ClientAlive /etc/ssh/sshd_config
If the output of this command is not:
ClientAliveInterval 600
ClientAliveCountMax 0
this is a finding.
M
4021