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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南