如何解決xshell連不上centos

如何解決xshell連不上centos

如何解決xshell連不上centos?

1.查看是不是同一網(wǎng)段

2.查看shh的22端口有沒有開啟

vim?/etc/ssh/sshd_config

如何解決xshell連不上centos

保存退出后,重啟ssh服務(wù)

service?sshd?restart

3.關(guān)閉防火墻

service?iptables?stop

3.如果登錄時(shí)root用戶,沒有設(shè)置密碼設(shè)置密碼

passwd

相關(guān)參考:centos教程


以上就是如何解決xshell連不上

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊5 分享