If my username and password to an EC2 instance was changed, how can I reset them?

0

This is not for my Root AWS access but rather an EC2 instance

Eric
已提问 2 年前1196 查看次数
4 回答
1

Is the instance Windows? Also, are you managing your EC2 instance through Systems Manager? If so, you can use Systems Manager to reset passwords.

For Windows see below (EC2 Rescue section):

If your instance is Linux and you are having an SSH issue, see below:

As always, before making changes, make sure to create a backup (EBS snapshot/AMI) to be able to roll back.

AWS
Taka_M
已回答 2 年前
0

No, it's Linux or Ubuntu

Eric
已回答 2 年前
0
已回答 2 年前
0

Thanks very much - This is exactly what we needed. Thanks for supplying the code too!

Eric
已回答 2 年前

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

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

回答问题的准则