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 年前370 查看次数
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 年前

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

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

回答问题的准则