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