在Windows中使用腻子SSH到Amazon EC2实例腻子、实例、Windows、SSH

2023-09-11 08:32:45 作者:〝浅唱、吶回忆ベ

我是一个新手,亚马逊网络服务,试图推出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,

创建一个密钥对。

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