Common Controls Hub
The Photon operating system must configure Secure Shell (SSH) to restrict AllowTcpForwarding.
While enabling TCP tunnels is a valuable function of sshd, this feature is not appropriate for use on single purpose appliances.
VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide
Check Text ( C-62623r933708_chk )
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i AllowTcpForwarding
If "AllowTcpForwarding" is not set to "no", this is a finding.
Fix Text (F-62532r933709_fix)
Navigate to and open:
Ensure the "AllowTcpForwarding" line is uncommented and set to the following:
At the command line, run the following command:
# systemctl restart sshd.service