如何解决xshell连不上centos

如何解决xshell连不上centos

如何解决xshell连不上centos

1.查看是不是同一网段

2.查看shh的22端口有没有开启

vim /etc/ssh/sshd_config

如何解决xshell连不上centos

保存退出后,重启ssh服务

service sshd restart

3.关闭防火墙

service iptables stop

3.如果登录时root用户,没有设置密码设置密码

passwd

相关参考:centos教程


以上就是如何解决xshell连不上

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享