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

The Photon operating system must configure Secure Shell (SSH) to restrict AllowTcpForwarding.

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

Discussion

While enabling TCP tunnels is a valuable function of sshd, this feature is not appropriate for use on single purpose appliances.

Check

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

# sshd -T|&grep -i AllowTcpForwarding

Example result:

allowtcpforwarding no

If "AllowTcpForwarding" is not set to "no", this is a finding.

Fix

Navigate to and open:

/etc/ssh/sshd_config

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

AllowTcpForwarding no

At the command line, run the following command:

# systemctl restart sshd.service

Identifiers

Group ID
V-258883
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-258883r991589_rule
Check ID
C-62623r933708_chk
Fix ID
F-62532r933709_fix