SV-207615r388482_rule
V-207615
SRG-OS-000480-VMM-002000
ESXI-65-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-207615
False
ESXI-65-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
2925