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

The Photon operating system must protect sshd configuration from unauthorized access.

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

Discussion

The "sshd_config" file contains all the configuration items for sshd. Incorrect or malicious configuration of sshd can allow unauthorized access to the system, insecure communication, limited forensic trail, etc.

Check

At the command line, run the following command:

# stat -c "%n permissions are %a and owned by %U:%G" /etc/ssh/sshd_config

Expected result:

/etc/ssh/sshd_config permissions are 600 and owned by root:root

If the output does not match the expected result, this is a finding.

Fix

At the command line, run the following commands:

# chmod 600 /etc/ssh/sshd_config
# chown root:root /etc/ssh/sshd_config

Identifiers

Group ID
V-256581
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-256581r1268251_rule
Check ID
C-60256r887415_chk
Fix ID
F-60199r887416_fix