The Photon operating system must configure sshd to perform strict mode checking of home directory configuration files.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-256550 | PHTN-30-000081 | SV-256550r991589_rule | CCI-000366 | medium |
| Description | ||||
| If other users have access to modify user-specific Secure Shell (SSH) configuration files, they may be able to log on to the system as another user. | ||||
| STIG | Date | |||
| VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide | 2024-12-16 | |||
Details
Check Text (C-256550r991589_chk)
At the command line, run the following command:
# sshd -T|&grep -i StrictModes
Expected result:
StrictModes yes
If the output does not match the expected result, this is a finding.
Fix Text (F-60168r887323_fix)
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "StrictModes" line is uncommented and set to the following:
StrictModes yes
At the command line, run the following command:
# systemctl restart sshd.service