如何連接 DigitalOcean Droplet 上的 SSH?沒有權限。 (git bash Windows)

如何連接 DigitalOcean Droplet 上的 SSH?沒有權限。 (git bash Windows)

如何使用 openssh 連接到 DigitalOcean 中的 Droplet 以便能夠安裝我的 SSL 證書,我已經將 SSH 密鑰添加到 Droplet 並且我的指紋就在那裡,但每次我嘗試使用ssh root@(IP)I連接到用戶時得到這個錯誤

The authenticity of host 'IP (IP)' can't be established. ED25519 key fingerprint is SHA256:Uh6argd...(the rest of fingerprint). This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '46.(IP)' (ED25519) to the list of known hosts. root@46.(IP): Permission denied (publickey).

我嘗試過使用此pbcopy < ~/c/Users/ibrah/.ssh/id_rsa.pub命令,嘗試刪除密鑰並再次生成它們,確保密鑰已註冊。

我是這個領域的新手,我願意學習,但這個問題花了我很長時間,我需要完成它,希望有人能提供幫助並解釋到底該怎麼做。

相關內容