UCF STIG Viewer Logo

The Photon operating system must configure sshd to disallow HostbasedAuthentication.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239194 PHTN-67-000123 SV-239194r675390_rule Medium
Description
SSH trust relationships enable trivial lateral spread after a host compromise and therefore must be explicitly disabled.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17

Details

Check Text ( C-42405r675388_chk )
At the command line, execute the following command:

# sshd -T|&grep -i HostbasedAuthentication

Expected result:

hostbasedauthentication no

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

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

HostbasedAuthentication no

At the command line, execute the following command:

# service sshd reload