首页>云服务器问答/资讯>Ubuntu18.04系统如何禁止sshd服务使用tcp转发

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

发布时间:2023/1/11 14:13:49

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

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

1.打开sshd_config文件

vi /etc/ssh/sshd_config

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

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

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

在线客服
微信公众号
免费拨打0592-5580190
免费拨打0592-5580190 技术热线 0592-5580190 或 18950029502
客服热线 17750597993
返回顶部
返回头部 返回顶部