亚马逊AWS 使用putty或winSCP连接时:服务器拒绝接受我们的密钥。

wei481651688 2017-04-10 11:00:43
亚马逊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连接成功有前辈,帮忙指点下,是哪个地方没有设置到位?还是操作有误
多谢。
...全文
5690 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
burrows9 2017-10-26
  • 打赏
  • 举报
回复 1
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
cly_0 2017-10-18
  • 打赏
  • 举报
回复
哥们 搞定了没有 我也是这样

409

社区成员

发帖
与我相关
我的任务
社区描述
AWS
社区管理员
  • AWS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧