Default EC2 login credentials location

0

I created an EC2 instance via Windows long ago. I don't remember where the login creds are for ssh via git bash on windows. I know I would have used the whatever the default locations are. But I don't even know where those are. Amazon "support" is useless.

warren
已提問 1 年前檢視次數 368 次
2 個答案
0

Have you tried resetting the password for the admin password for EC2 instance .

Please check this one https://repost.aws/knowledge-center/ec2-windows-replace-lost-key-pair

https://www.youtube.com/watch?v=VBZLqxkeyGE

https://www.youtube.com/watch?v=5V2hKFj9_SI

AWS
已回答 1 年前
0

You can try using Session Manager to obtain a browser shell access to change your administrator password.

Try the steps listed at Connect to your Linux instance using Session Manager or Connect to your Windows instance using Session Manager for Linux or Windows respectively.

Restart your EC2 instance if you are unable to connect via Session Manager. Once you obtained shell access, reset password by running the command net user administrator <YourPassword> or sudo passwd ec2-user for Windows or Linux respectively.

AWS
專家
Mike_L
已回答 1 年前

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

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

回答問題指南