將公鑰複製到authorized_keys後,CENT-OS ssh仍要求輸入密碼

將公鑰複製到authorized_keys後,CENT-OS ssh仍要求輸入密碼

debug2:金鑰:/home/user/.ssh/identity((無))debug2:金鑰:/home/user/.ssh/id_rsa(0x55b9fa275e80)debug2:金鑰:/home/user/.ssh/id_dsa ((nil) )) debug2: key: /home/user/.ssh/id_ecdsa ((nil)) debug1: 可以繼續的身份驗證:publickey,gssapi-keyex,gssapi-with-mic,password debug1: 下一個身分驗證方法:gssapi-keyex debug1 :沒有有效的金鑰交換上下文debug2:我們沒有傳送封包,停用方法debug1:下一個驗證方法:gssapi-with-mic 反向映射檢查host1-1.example.com [ 192.168.5.60] 的getaddrinfo 失敗- 可能中斷 -正在嘗試! debug1:未指定的 GSS 故障。次要程式碼可能提供更多資訊未找到憑證快取檔案“/tmp/krb5cc_500”

debug1:未指定的 GSS 故障。次要程式碼可能提供更多資訊未找到憑證快取檔案“/tmp/krb5cc_500”

debug2:我們沒有傳送封包,停用方法debug1:下一個驗證方法:publickey debug1:嘗試私鑰:/home/user/.ssh/identity debug1:提供公鑰:/home/user/.ssh/id_rsa debug2 :我們發送了一個公鑰資料包,等待回覆debug1:可以繼續的身份驗證:publickey,gssapi-keyex,gssapi-with-mic,密碼debug1:嘗試私鑰:/home/user/.ssh/id_dsa debug1:嘗試私鑰: /home/user/.ssh/id_ecdsa debug2:我們沒有傳送封包,停用方法 debug1:下一個驗證方法:密碼 [電子郵件受保護]的密碼:


我已經使用了 ssh-copy-id 並重新啟動了 sshd 服務。

請幫忙。

相關內容