0
点赞
收藏
分享

微信扫一扫

解决linux 系统ssh 无法远程,xshell连接慢

秀儿2020 2023-09-28 阅读 37


1.设置永久关闭防火墙
vim /etc/selinux/config
#文件中的SELINUX=enforcing
#修改为
SELINUX=disabled

2.修改SSH配置文件
vim /etc/ssh/sshd_config

UseDNS no
PubkeyAuthentication yes
PasswordAuthentication yes
PermitRootLogin yes

3.重启ssh
service sshd restart


举报

相关推荐

0 条评论