Skip to content

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

An XCCDF Rule

Description

<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-258762r933347_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

From an ESXi shell, run the following command:

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

or