亚马逊AWS EC2实例 - 不能与SSH连接 [英] Amazon AWS EC2 Instance - Can't connect with SSH

查看:1871
本文介绍了亚马逊AWS EC2实例 - 不能与SSH连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这不应该是这个又硬。无法通过SSH客户端连接到新的AWS EC2实例

This shouldn't be this hard. Cannot connect to new AWS EC2 instance via SSH clients

这是一个双赢的7盒连接

Connecting from a Win 7 box

实例:ec2-23-20-165-152.compute-1.amazonaws.com

Instance: ec2-23-20-165-152.compute-1.amazonaws.com

操作系统:Debian的6

OS: Debian 6

debian-squeeze-i386-20121119-e4554303-3a9d-412e-9604-eae67dde7b76-ami-1977f070.1(ami-a121a6c8)

debian-squeeze-i386-20121119-e4554303-3a9d-412e-9604-eae67dde7b76-ami-1977f070.1(ami-a121a6c8)

网友:尝试根,也是EC2用户

User: tried "root" and also "ec2-user"

使用质子交换膜密钥对的AWS生成和我下载

Using .pem keypair that AWS generated and I downloaded

确认安全组和密钥对名称的实例

Confirmed security group and Key Pair Name on instance

SSH端口22是开放模式:nmap是这么说的和Telnet得到一个值得欢迎的答复

SSH port 22 is OPEN: Nmap says so and Telnet gets a welcome reply

使用3种不同的客户:所有客户端连接OK

Using 3 different clients: all clients connect ok

腻子:服务器拒绝了我们的关键

PuTTY: Server refused our key

MindTerm Java浏览器加载项:身份验证失败,权限被拒绝

MindTerm Java browser add-in: Authentication failed, permission denied

Bitvise SSH:试图公钥身份验证;身份验证失败;

Bitvise SSH: Attempting 'publickey' auth; auth failed;

重新引导实例,洗,漂洗,重复...

Rebooted instance, wash, rinse, repeat...

重建新的实例和新的密钥对,洗,漂洗,重复...

REBUILT new instance and new keypair, wash, rinse, repeat...

连接不是问题。为什么实例不接受.pem文件的密码?是否有一个额外的步骤我失踪?我跟着每一个该死的导游,我可以谷歌。 AWS的支持是一个笑话。计算器救援...

Connecting isn't the issue. Why would the instance not accept the .pem file as the password? Is there an additional step I am missing? I followed EVERY frigging guide I could Google. AWS support is a joke. stackoverflow to the rescue...

TIA。

推荐答案

按照 Debian的维基有您所使用的AMI的文件,你需要使用登录的用户名是管理员。

According to the debian wiki which has documentation on the AMI you are using, the username you need to use to login is 'admin'.

这篇关于亚马逊AWS EC2实例 - 不能与SSH连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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