SV-99019r1_rule
V-88369
SRG-OS-000029-GPOS-00010
VROM-SL-000055
CAT II
10
Configure SLES for vRealize to initiate a session lock after a 15-minute period of inactivity for SSH.
Set the session lock after a 15-minute period by executing the following command:
# sed -i 's/^.*\bClientAliveInterval\b.*$/ClientAliveInterval 900/' /etc/ssh/sshd_config; sed -i 's/^.*\bClientAliveCountMax\b.*$/ClientAliveCountMax 0/' /etc/ssh/sshd_config
Verify SLES for vRealize initiates a session lock after a 15-minute period of inactivity for SSH.
Execute the following command:
# grep ClientAliveInterval /etc/ssh/sshd_config; grep ClientAliveCountMax /etc/ssh/sshd_config
Verify the following result:
ClientAliveInterval 900
ClientAliveCountMax 0
If the session lock is not set to a 15-minute period, this is a finding.
V-88369
False
VROM-SL-000055
Verify SLES for vRealize initiates a session lock after a 15-minute period of inactivity for SSH.
Execute the following command:
# grep ClientAliveInterval /etc/ssh/sshd_config; grep ClientAliveCountMax /etc/ssh/sshd_config
Verify the following result:
ClientAliveInterval 900
ClientAliveCountMax 0
If the session lock is not set to a 15-minute period, this is a finding.
M
3461