STIGUI
V-256550CAT II — Medium severitySV-256550r1268251_rule

The Photon operating system must configure sshd to perform strict mode checking of home directory configuration files.

Rule version PHTN-30-000081 · STIG v1 · 2026-08-31

Discussion

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.

Check

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

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-256550
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-256550r1268251_rule
Check ID
C-60225r887322_chk
Fix ID
F-60168r887323_fix