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
已回答 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.
相關內容
- 已提問 1 年前
- 已提問 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 8 個月前