Skip to content

The ESXi host Secure Shell (SSH) daemon must ignore .rhosts files.

An XCCDF Rule

Description

SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts. SSH can emulate the behavior of the obsolete "rsh" command in allowing users to enable insecure access to their accounts via ".rhosts" files.

ID
SV-258738r1015920_rule
Version
ESXI-80-000052
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

From an ESXi shell, run the following command:

# esxcli system ssh server config set -k ignorerhosts -v yes

or