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.

demandé il y a un an594 vues
1 réponse
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
EXPERT
kentrad
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions