UCF STIG Viewer Logo

The ESXi host SSH daemon must perform strict mode checking of home directory configuration files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-207621 ESXI-65-000020 SV-207621r388482_rule Medium
Description
If other users have access to modify user-specific SSH configuration files, they may be able to log into the system as another user.
STIG Date
VMware vSphere 6.5 ESXi Security Technical Implementation Guide 2021-09-22

Details

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

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

If there is no output or the output is not exactly "StrictModes yes", this is a finding.
Fix Text (F-7876r364263_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":

StrictModes yes