xshell鏈接不上centos解決辦法

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

相關文章
相關標籤/搜索