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

发布时间:2021-07-28 15:42
 

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

1.打开sshd_config文件

vi /etc/ssh/sshd_config

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

本文导读