DISA STIGS Viewer

The ESXi host Secure Shell (SSH) daemon must set a timeout interval on idle sessions.

Overview

Finding ID Version Rule ID IA Controls Severity
V-256395 ESXI-70-000027 SV-256395r959010_rule   Low
Description
Automatically logging out idle users guards against compromises via hijacked administrative sessions.
STIG Date
VMware vSphere 7.0 ESXi Security Technical Implementation Guide 2024-12-16

Details

Check Text (C-60070r885964_chk)
From an ESXi shell, run the following command:

# /usr/lib/vmware/openssh/bin/sshd -T|grep clientaliveinterval

Expected result:

clientaliveinterval 200

If the output does not match the expected result, this is a finding.
Fix Text (F-60013r885965_fix)
From an ESXi shell, add or correct the following line in "/etc/ssh/sshd_config":

ClientAliveInterval 200