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.

질문됨 일 년 전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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠