Ubuntu18.04系统结构如何禁止sshd帮助使用tcp转发
资讯
2025-03-02 17:26
150
Ubuntu18.04系统结构如何禁止sshd帮助使用tcp转发
在ubuntu18.04中如何禁止sshd帮助使用tcp转发呢?本文给出周密说明。
1.打开sshd_config文件
vi /etc/ssh/sshd_config
2.将#AllowTcpForwarding yes改为 AllowTcpForwarding no后保存退出