PHTN-67-000093 - The Photon operating system must configure sshd to ignore user-specific known_host files.

Information

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.

Solution

Open /etc/ssh/sshd_config with a text editor.

Ensure that the 'IgnoreUserKnownHosts' line is uncommented and set to the following:

IgnoreUserKnownHosts yes

At the command line, execute the following command:

# service sshd reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip