SV-239284r674781_rule
V-239284
SRG-OS-000480-VMM-002000
ESXI-67-000029
CAT II
10
From an SSH session connected to the ESXi host, or from the ESXi shell, zero out 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-239284
False
ESXI-67-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
5326