开发者

Unable to login to EC2 (AWS) using Putty

开发者 https://www.devze.com 2023-03-26 00:03 出处:网络
I want t开发者_如何学运维o login to the instance i created on Amazon Web Services. I get the following error.

I want t开发者_如何学运维o login to the instance i created on Amazon Web Services. I get the following error.

login as: root
Server refused our key
Using keyboard-interactive authentication.
Password: 

I dont know what to enter as Password. I have given the privatekey created from PuttyGen.


The username of Amazon AMI is difference depend on the AMI creator,

for Amazon AMI , user ec2-user for Ubuntu AMI , user ubuntu

You may search from the ami-id to see what is the default username of that AMI. Please ensure that this key you use is the private key for the public key which you put to key-binding when you created the instance.


Try logging in as ec2-user. On the instances I have tried root login was disabled by default.


The created SSH key was wrong. The key happends to be SSH 1. not SSH2. For me it worked for root.

0

精彩评论

暂无评论...
验证码 换一张
取 消