断开连接:没有可用的受支持的身份验证方法(服务器发送:publickey) [英] Disconnected : No supported authentication methods available (server sent :publickey)

查看:56
本文介绍了断开连接:没有可用的受支持的身份验证方法(服务器发送:publickey)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Amazon EC2 的新手,正在尝试对其进行配置.我已经创建了实例并尝试连接.我收到的错误是已断开连接:没有可用的受支持的身份验证方法(服务器发送:公钥)".

我从 EC2 管理控制台获得了密钥对,并使用 putty gen 生成了私钥文件 (PPK).

请协助解决.

我已经提到了 以允许端口 80 和端口 443 入站.

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)".

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

Kindly assist to resolve.

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

解决方案

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

  • Amazon Linux: ec2-user
  • Ubuntu: ubuntu
  • Debian : admin

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.

这篇关于断开连接:没有可用的受支持的身份验证方法(服务器发送:publickey)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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