亞馬遜AWS 使用putty或winSCP連接時:服務器拒絕接受我們的密鑰。

首先,做了以下嘗試仍然提示有問題:
1.根據AWS官方檔案生成密鑰,并轉換成putty或winSCP可讀取的.ppk ,1024位或2048位都嘗試了,還是被拒絕。
http://docs.amazonaws.cn/AWSEC2/latest/UserGuide/ec2-key-pairs.html
2.檢查了AMI 為Ubuntu AMI,根據AWS官方檔案嘗試了 root, ubuntu ,ec2-user 用戶均無法訪問,同樣提示被拒絕。
3.打開了實體對應的 SSH 22埠,TCP 所有埠,還是被拒絕。


請教有用過的AWS 使用putty或winSCP連接成功有前輩,幫忙指點下,是哪個地方沒有設定到位?還是操作有誤
多謝。
uj5u.com熱心網友回復:
哥們 搞定了沒有 我也是這樣uj5u.com熱心網友回復:
The error is familiar from when I set up the connection almost a year ago. If you're setting up AWS SSH for the first time, these address the most common problems:Wrong username: Disconnected : No supported authentication methods available (server sent :publickey)
https://stackoverflow.com/questions/21535907/disconnected-no-supported-authentication-methods-available-server-sent-publi
Incorrect .ppk file: Unable to connect to amazon server using putty
https://stackoverflow.com/questions/19096348/unable-to-connect-to-amazon-server-using-putty
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/58007.html
標籤:AWS
