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-258765r933356_rule
- Severity
- Low
- References
- Updated
Remediation - Manual Procedure
From an ESXi shell, run the following command:
# esxcli system ssh server config set -k clientalivecountmax -v 3
or