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
feita há 2 anos1197 visualizações
4 Respostas
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
respondido há 2 anos
0

No, it's Linux or Ubuntu

Eric
respondido há 2 anos
0
respondido há 2 anos
0

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

Eric
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas