UCF STIG Viewer Logo

The Photon operating system must configure sshd to ignore user-specific trusted hosts lists.


Finding ID Version Rule ID IA Controls Severity
V-239163 PHTN-67-000092 SV-239163r675297_rule Medium
SSH trust relationships enable trivial lateral spread after a host compromise and therefore must be explicitly disabled. Individual users can have a local list of trusted remote machines, which must also be ignored while disabling host-based authentication generally.
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17


Check Text ( C-42374r675295_chk )
At the command line, execute the following command:

# sshd -T|&grep -i IgnoreRhosts

Expected result:

IgnoreRhosts yes

If the output does not match the expected result, this is a finding.
Fix Text (F-42333r675296_fix)
Open /etc/ssh/sshd_config with a text editor.

Ensure that the "IgnoreRhosts" line is uncommented and set to the following:

IgnoreRhosts yes

At the command line, execute the following command:

# service sshd reload