Ubuntu18.04系统如何禁止sshd服务使用tcp转发

在ubuntu18.04中如何禁止sshd服务使用tcp转发呢?本文给出详细说明。

1.打开sshd_config文件

vi /etc/ssh/sshd_config

2.将#AllowTcpForwarding yes改为 AllowTcpForwarding no后保存退出

相关文章