UCF STIG Viewer Logo

The ESXi host SSH daemon must limit connections to a single session.


Overview

Finding ID Version Rule ID IA Controls Severity
V-207629 ESXI-65-000028 SV-207629r388482_rule Medium
Description
The SSH protocol has the ability to provide multiple sessions over a single connection without reauthentication. A compromised client could use this feature to establish additional sessions to a system without consent or knowledge of the user.
STIG Date
VMware vSphere 6.5 ESXi Security Technical Implementation Guide 2021-09-22

Details

Check Text ( C-7884r364286_chk )
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:

# grep -i "^MaxSessions" /etc/ssh/sshd_config

If there is no output or the output is not exactly "MaxSessions 1", this is a finding.
Fix Text (F-7884r364287_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":

MaxSessions 1