PHTN-30-000119 - The Photon operating system must configure sshd to restrict AllowTcpForwarding.

Information

While enabling Transmission Control Protocol (TCP) tunnels is a valuable function of sshd, this feature is not appropriate for use on single-purpose appliances.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y25M01_STIG.zip