Centos7系统如何禁用X11Forwarding
发布时间:2022-11-25 13:56:26 来源: 纵横云
Centos7系统如何禁用X11Forwarding
在centos7中如何禁用X11Forwarding呢?本文给出详细说明。
1.打开sshd配置文件
vi /etc/ssh/sshd_config

2.找到X11Forwarding 确保设置其值设置为NO

3.保存后重启sshd服务
service sshd restart
说明:开启X11Forwarding容易导致会话被劫持
本文来源:
https://www.zonghengcloud.com/article/8470.html
[复制链接]
链接已复制