SSH服務器拒絕了密碼,請再試一次。
(01)症狀:xshell通過ssh協議連接不上linux系統
(02)這時候可以登錄虛擬機,不使用xshell操作1、檢查sshd服務是否有開啟,下圖是有開啟的;
(03)2、檢查 /etc/ssh/ssh_config文件,ssh服務端口是否為22,Protocol協議版本是否為2,(一般為2安全。1為ssh 1不安全,有可能禁止登陸)找到# Authentication:LoginGraceTime 120PermitRootLogin without passwdStrictModes yes改成# Authentication:LoginGraceTime 120PermitRootLogin yesStrictModes yes重啟虛擬機;問題即可解決