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

2023-09-11 08:18:35 作者:`老子因你变傻

我是新来的Amazon EC2,并试图对其进行配置。我创建了实例,并尝试连接。我得到的错误,因为断开连接:不支持的认证方法(服务器发送:公钥)。

I am new to Amazon EC2 and trying to configure it. I have created the instances and trying to connect. I am getting the error as "Disconnected : No supported authentication methods available (server sent :publickey)".

我已得到EC2管理控制台的密钥对,并用腻子根生成私钥文件(PPK)。

I have got the keypair from EC2 Management console and have used putty gen to generate private key file(PPK).

请帮助解决。

我已经提到Google服务器腻子连接断开连接:没有支持的认证方法(服务器发送:公钥)。的,但不能让我的问题解决了

I have already referred Google server putty connect 'Disconnected: No supported authentication methods available (server sent: publickey) but couldn't get my problem resolved.

推荐答案

有关的记录,在EC2通常默认的用户名,这些Linux发行版:

For the record, the usual default username in EC2 for these Linux distro:

在亚马逊的Linux: EC2用户的 Ubuntu的:的Ubuntu 的 Debian的:管理的 Amazon Linux: ec2-user Ubuntu: ubuntu Debian : admin

要通过浏览器访问的情况下,请确保您的add在您的安全组规则来允许使用80端口和端口443入站。

To access the instance through a browser, make sure you add a rule in your security group to allow port 80 and port 443 inbound.