STIGUI
V-258876CAT II — Medium severitySV-258876r991589_rule

The Photon operating system must configure Secure Shell (SSH) to perform strict mode checking of home directory configuration files.

Rule version PHTN-40-000213 · STIG v2 · 2026-08-26

Discussion

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.

Check

At the command line, run the following command to verify the running configuration of sshd:

# sshd -T|&grep -i StrictModes

Example result:

strictmodes yes

If "StrictModes" is not set to "yes", this is a finding.

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

Identifiers

Group ID
V-258876
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-258876r991589_rule
Check ID
C-62616r933687_chk
Fix ID
F-62525r933688_fix