SV-216399r603267_rule
V-216399
SRG-OS-000126
SOL-11.1-050460
CAT II
10
The root role is required.
Configure the system to disconnect SSH sessions after 10 minutes of inactivity.
# pfedit /etc/ssh/sshd_config
Insert the two lines:
ClientAliveInterval 600
ClientAliveCountMax 0
Restart the SSH service with the new configuration.
# 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-216399
False
SOL-11.1-050460
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
4022