SV-239272r674745_rule
V-239272
SRG-OS-000480-VMM-002000
ESXI-67-000016
CAT II
10
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":
PermitUserEnvironment no
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# grep -i "^PermitUserEnvironment" /etc/ssh/sshd_config
If there is no output or the output is not exactly "PermitUserEnvironment no", this is a finding.
V-239272
False
ESXI-67-000016
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# grep -i "^PermitUserEnvironment" /etc/ssh/sshd_config
If there is no output or the output is not exactly "PermitUserEnvironment no", this is a finding.
M
5326