SV-258883r991589_rule
V-258883
SRG-OS-000480-GPOS-00227
PHTN-40-000220
CAT II
10
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
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.
V-258883
False
PHTN-40-000220
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.
M
5569