如何解决xshell连不上centos

如何解决xshell连不上centos

如何解决xshell连不上centos

1.查看是不是同一网段

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

vim /etc/ssh/sshd_config

140.jpg

保存退出后,重启ssh服务

service sshd restart

3.关闭防火墙

service iptables stop

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

passwd

相关参考:centOS教程



以上就是如何解决xshell连不上centos的详细内容,更多请关注www.sxiaw.com其它相关文章!