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

The Photon operating system must configure Secure Shell (SSH) to disallow compression of the encrypted session stream.

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

Discussion

If compression is allowed in an SSH connection prior to authentication, vulnerabilities in the compression software could result in compromise of the system from an unauthenticated connection.

Check

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

# sshd -T|&grep -i Compression

Example result:

compression no

If there is no output or if "Compression" is not set to "delayed" or "no", this is a finding.

Fix

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "Compression" line is uncommented and set to the following:

Compression no

At the command line, run the following command:

# systemctl restart sshd.service

Identifiers

Group ID
V-258878
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-258878r991589_rule
Check ID
C-62618r933693_chk
Fix ID
F-62527r933694_fix