UCF STIG Viewer Logo

The ESXi host SSH daemon must set a timeout count on idle sessions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239281 ESXI-67-000026 SV-239281r674772_rule Low
Description
Setting a timeout ensures that a user login will be terminated as soon as the "ClientAliveCountMax" is reached.
STIG Date
VMware vSphere 6.7 ESXi Security Technical Implementation Guide 2022-01-05

Details

Check Text ( C-42514r674770_chk )
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 (F-42473r674771_fix)
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