Check: ESXI-67-000026
VMware vSphere 6.7 ESXi STIG:
ESXI-67-000026
(in versions v1 r3 through v1 r1)
Title
The ESXi host SSH daemon must set a timeout count on idle sessions. (Cat III impact)
Discussion
Setting a timeout ensures that a user login will be terminated as soon as the "ClientAliveCountMax" is reached.
Check Content
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command: # grep -i "^ClientAliveCountMax" /etc/ssh/sshd_config If there is no output or the output is not exactly "ClientAliveCountMax 3", this is a finding.
Fix Text
From an SSH session connected to the ESXi host, or from the ESXi shell, add or correct the following line in "/etc/ssh/sshd_config": ClientAliveCountMax 3
Additional Identifiers
Rule ID: SV-239281r674772_rule
Vulnerability ID: V-239281
Group Title: SRG-OS-000480-VMM-002000
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |