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-239283 ESXI-67-000028 SV-239283r674778_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.7 ESXi Security Technical Implementation Guide 2022-01-05

Details

Check Text ( C-42516r674776_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-42475r674777_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