Linux——SSH连接错误【No supported authentication methods available】解决方案
問題描述
No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
問題分析
1、用戶文件夾權(quán)限問題。
例如:在/home目錄下使用命令chmod 777 -R
?2、ssh配置問題
參數(shù)?PasswordAuthentication?的默認(rèn)值為?yes,SSH服務(wù)將其值置為?no?以禁用密碼驗證登錄,導(dǎo)致此類故障。需要修改?PasswordAuthentication?配置解決此問題。
解決方案
方法一:
ssh工具連接時,登陸類型選擇“秘鑰文件”,輸入用戶名,并使用ssh秘鑰。
方法二:
方法三:
如云服務(wù)器,可以嘗試提交工單。
參考文章
SSH 登錄時出現(xiàn)如下錯誤:Disconnected:No supported authentication methods available
通過SSH連接Linux服務(wù)器No supported authentication avai...
AWS EC2 ssh (server sent:publickey,gssapi-keyex,gssapi-with-mic)
阿里云ECS——Linux連接錯誤[Read from socket failed: Connection reset by peer]解決方案
SSH客戶端 登錄阿里云時出現(xiàn)如下錯誤:Disconnected:No supported authentication methods available
總結(jié)
以上是生活随笔為你收集整理的Linux——SSH连接错误【No supported authentication methods available】解决方案的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PaddleOCR——申请显存不足【Al
- 下一篇: Docker——基于HubServing