SV-207630r388482_rule
V-207630
SRG-OS-000480-VMM-002000
ESXI-65-000029
CAT II
10
From an SSH session connected to the ESXi host, or from the ESXi shell, zero or remove the /etc/ssh/keys-root/authorized_keys file:
# >/etc/ssh/keys-root/authorized_keys
or
# rm /etc/ssh/keys-root/authorized_keys
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# ls -la /etc/ssh/keys-root/authorized_keys
or
# cat /etc/ssh/keys-root/authorized_keys
If the authorized_keys file exists and is not empty, this is a finding.
V-207630
False
ESXI-65-000029
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:
# ls -la /etc/ssh/keys-root/authorized_keys
or
# cat /etc/ssh/keys-root/authorized_keys
If the authorized_keys file exists and is not empty, this is a finding.
M
2925