Common Controls Hub
The Photon operating system must configure Secure Shell (SSH) to perform strict mode checking of home directory configuration files.
If other users have access to modify user-specific SSH configuration files, they may be able to log on to the system as another user.
VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide
Check Text ( C-62616r933687_chk )
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i StrictModes
If "StrictModes" is not set to "yes", this is a finding.
Fix Text (F-62525r933688_fix)
Navigate to and open:
Ensure the "StrictModes" line is uncommented and set to the following:
At the command line, run the following command:
# systemctl restart sshd.service