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-256388r885945_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
From an ESXi shell, add or correct the following line in "/etc/ssh/sshd_config":
PermitUserEnvironment no