# AWS xshell root密码重置

By [KeepLearning](https://paragraph.com/@keeplearning-2) · 2023-02-07

---

从AWS网页版进入，

![](https://storage.googleapis.com/papyrus_images/a98e348bc551b91de0f9c3bedb7c51daac3c1b85a916061573c01961ca4ff53c.png)

链接后输入以下命令：

sudo passwd root

![](https://storage.googleapis.com/papyrus_images/b3274940a700fc92e74c3a7b4458d21471d8b8aa74e189ef404cc7d16cd35244.png)

然后重置root密码，就能从xshell登录了。

---

*Originally published on [KeepLearning](https://paragraph.com/@keeplearning-2/aws-xshell-root)*
