在Windows中使用腻子SSH到Amazon EC2实例 [英] SSH to Amazon EC2 instance using Putty in windows

查看:148
本文介绍了在Windows中使用腻子SSH到Amazon EC2实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新手,亚马逊网络服务,试图推出Amazon实例和ssh它使用腻子从窗户。这些都是我跟着,

I am a newbie to Amazon web services, was trying launch an Amazon instance and ssh to it using putty from windows. These are the steps I followed,

  1. 创建一个密钥对。

  1. Created a key pair.

创建安全组规则SSH和HTTP。

Created security group with rule for SSH and HTTP.

启动和使用上述密钥对和安全组的EC2实例。

Launched and instance of EC2 using the above key pair and security group.

使用puttygen转换的* .pem文件为* .ppk

Using puttygen converted the *.pem file to *.ppk

使用腻子试图连接到该实例的公共DNS和提供的* .ppk文件。

Using putty tried connecting to the public dns of the instance and provided the *.ppk file.

我登录使用'根'和'EC2用户,并创建了使用SSH1及SSH2的PPK文件,所有这些尝试,我得到以下错误腻子,

I logged in using 'root' and 'ec2-user', and created the ppk file using SSH1 and SSH2, for all these attempts I get the following error in putty,

服务器拒绝了我们的关键

"Server refused our key"

你们能帮帮,任何建议都将大大AP preciated。

Can you guys please help, any suggestions would be greatly appreciated.

推荐答案

我假设OP想通了这一点,或以其他方式提出的,但得到的答复是使用的Ubuntu 作为用户(如果服务器ubuntu的)。

I assume that the OP figured this out or otherwise moved on, but the answer is to use ubuntu as the user (if the server is ubuntu).

这篇关于在Windows中使用腻子SSH到Amazon EC2实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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