AWS - 断开:不支持的认证方法(服务器发送:公钥)不支持、服务器、公钥、方法

由网友(时光与爱终年不遇.︵o)分享简介:SSH到我的AWS服务器只是打破了两个腻子和Filezilla的。我正在做一些努力为这个职位是一个COM prehensive故障排除列表中,因此,如果您分享链接到其他堆栈溢出的网页,我将编辑成问题。SSH to my AWS server just broke for both Putty and Filezil...

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:

错误的用户名: Disconnected :不支持的认证方法(服务器发送:公钥) 错误.ppk文件: 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

阅读全文

相关推荐

最新文章