AWS - 断开:不支持的认证方法(服务器发送:公钥) [英] AWS - Disconnected : No supported authentication methods available (server sent :publickey)

查看:3328
本文介绍了AWS - 断开:不支持的认证方法(服务器发送:公钥)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SSH到我的AWS服务器只是打破了两个腻子和Filezilla的。我正在做一些努力为这个职位是一个COM prehensive故障排除列表中,因此,如果您分享链接到其他堆栈溢出的网页,我将编辑成问题。

SSH to my AWS server just broke for both Putty and Filezilla. I'm making some effort for this post to be a comprehensive troubleshooting list, so if you share links to other stack overflow pages, I'll edit them into the question.

Disconnected : No supported authentication methods available (server sent :publickey)


错误是,当我建立连接差不多一年前熟悉。如果您正在设置AWS SSH是第一次,这些解决最常见的问题:


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:

  • 错误的用户名: <一个href="http://stackoverflow.com/questions/21535907/disconnected-no-supported-authentication-methods-available-server-sent-publi">Disconnected :不支持的认证方法(服务器发送:公钥)
  • 错误.ppk文件: <一个href="http://stackoverflow.com/questions/19096348/unable-to-connect-to-amazon-server-using-putty">Unable用腻子
  • 要连接到Amazon的服务器
  • Wrong username: Disconnected : No supported authentication methods available (server sent :publickey)
  • Incorrect .ppk file: Unable to connect to amazon server using putty

不过,我能想到的唯一的事情会影响到一个previously工作制是:

However, the only thing I could think that would impact a previously working system is:

  • 错误的IP:的重新启动的AWS实例(或创建的图像),不能保证保持相同的IP地址。这将明显地具有在腻子被更新。
  • Wrong IP: Restarting an AWS instance (or creating an image) is not guaranteed to keep the same IP address. This would obviously have to be updated in putty.

还有什么其他的可能性有哪些?

What other possibilities are there?

推荐答案

您还将收到断开连接:不支持的认证方法(服务器发送:公钥)当你有一个正确的Linux用户,但您尚未创建的文件的.ssh / authorized_keys文件,并保存公钥作为管理用户指示在您的Linux实例帐户

You will also receive "Disconnected : No supported authentication methods available (server sent :publickey)" when you have a correct Linux user but you haven't created the file .ssh/authorized_keys and saved the public key as indicated in Managing User Accounts on Your Linux Instance

这篇关于AWS - 断开:不支持的认证方法(服务器发送:公钥)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆