SV-239270r674739_rule
V-239270
SRG-OS-000480-VMM-002000
ESXI-67-000014
CAT III
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":
Add or correct the following line in "/etc/ssh/sshd_config":
PermitRootLogin no
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# grep -i "^PermitRootLogin" /etc/ssh/sshd_config
If there is no output or the output is not exactly "PermitRootLogin no", this is a finding.
V-239270
False
ESXI-67-000014
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# grep -i "^PermitRootLogin" /etc/ssh/sshd_config
If there is no output or the output is not exactly "PermitRootLogin no", this is a finding.
M
5326