problem of connecting new EC2 instance

0

dear all
I am a starter, and create a new EC2 instance(linux) and try to connect by two methods, but both failed:

  1. via putty, when enter the interface of 'login as:', I inputed username(EC2-user, or root),it indicates:No supported authentication methods available(server sent:public key) and close the window.
    what can I do to successfully login?

  2. via: 'EC2 Instance Connect (browser-based SSH connection)' of control panel. it indicates:
    'EC2 service page is currently unavailable.
    You can monitor status on the AWS Service Health Dashboard.
    To visit a different AWS service page, go to AWS Management Console.
    You can also contact AWS Support for assistance.'
    is this problem of server? I tried yesterday evening and tomorrow morning, it has the same information, what can I do ?
    thanks a lot.

已提问 4 年前358 查看次数
1 回答
0

Hello,

I understand that you are unable to connect to your EC2 Linux instance. To connect to instance using Putty please note note that you need to input .ppk file while connecting to the instance. Please follow the steps given in the below document to connect to instance using Putty:

Link: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

Regarding your other query, I would request you to share the instance-id with us to check if your instance fulfills requirements of EC2 Instance Connect. You may refer to the below link:

Link: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html

Thanks

AWS
支持工程师
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则