The ESXi host Secure Shell (SSH) daemon must set a timeout count on idle sessions.
An XCCDF Rule
Description
<VulnDiscussion>Setting a timeout ensures that a user login will be terminated as soon as the "ClientAliveCountMax" is reached.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-256394r885963_rule
- Severity
- Low
- References
- Updated
Remediation - Manual Procedure
From an ESXi shell, add or correct the following line in "/etc/ssh/sshd_config":
ClientAliveCountMax 3