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
asked a year ago343 views
2 Answers
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
answered a year ago
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
EXPERT
Mike_L
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions