Skip to content

The ESXi host Secure Shell (SSH) daemon must not permit user environment settings.

An XCCDF Rule

Description

SSH environment options potentially allow users to bypass access restriction in some configurations. Users must not be able to present environment options to the SSH daemon.

ID
SV-258762r959010_rule
Version
ESXI-80-000204
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

From an ESXi shell, run the following command:

# esxcli system ssh server config set -k permituserenvironment -v no

or