<>
網(wǎng)維技術(shù)網(wǎng)維技術(shù)
SSH工具遠(yuǎn)程登錄Linux系統(tǒng)錯誤解決方法
發(fā)布時間:2025-01-11 12:55       
更新時間:2025-01-13 14:58
SSH工具遠(yuǎn)程登錄Linux系統(tǒng)錯誤解決方法,錯誤提示Disconnected:No supported authentication methods available(server sent:publickey,gssapi-keyex,gssapi-with-mic)解決辦法
1、云服務(wù)器使用控制面板登錄
2、修改密碼登錄為yes,步驟如下
運行命令:vi /etc/ssh/sshd_config
將參數(shù)PasswordAuthentication設(shè)置為yes,前面不能有#號
3、重啟ssh服務(wù)
centos7.以上執(zhí)行命令:systemctl restart sshd
其它系統(tǒng)執(zhí)行命令:service ssh restart
4.使用ssh客戶端重新登錄。