1.查看是否是同一网段vim
2.查看shh的22端口有没有开启ssh
vim /etc/ssh/sshd_configrest
保存退出后,重启ssh服务blog
service sshd restartip
3.关闭防火墙table
service iptables stop登录
3.若是登陆时root用户,没有设置密码设置密码iptables
passwdservice