How to recover SSH access to EC2 instance?

0

Hello, recently I set up the Hide.me VPN service in one of my EC2 instances, after starting the service I got disconnected from my SSH instance and I couldn't enter anymore. The instance seems to be up and running in the UI but I cannot access to it. Any help is much appreciated.

已提问 1 年前593 查看次数
1 回答
0

Here are the steps to gain access:

  1. Stop broken instance
  2. Detach broken instance root volume
  3. Start new instance that you can login to
  4. Attach broken instance volume to new instance
  5. Mount the broken instance volume at the OS level
  6. Fix/undo the configuration on the broken instance volume
  7. Unmount/detach broken (now-fixed) instance volume
  8. Attach now-fixed volume to broken instance
  9. Start broken (now-fixed) instance
  10. Login
profile pictureAWS
专家
kentrad
已回答 1 年前

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

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

回答问题的准则