How do you connect via SSH to a Linux EC2 instance with…

, How do you connect via SSH to a Linux EC2 instance with…

Here is an answer to the question. How do you connect via SSH to a Linux EC2 instance with an EBS volume if you lost your key pair?

  • Stop the instance and create an AMI image. Launch the image using a new key pair..
  • You can not connect to this EC2 instance. The key pair is displayed only one time. If you lose it, you have lost all access to this instance. Connect the EBS volume to another instance to recover your files..
  • Attach the EBS volume to a temporary instance launched with a new key pair, and overwrite ~/.ssh.authorized_keys using the same file from the new instance..
  • Contact AWS support. A support specialist can remotely restore access to your instance and send you a new key pair..

This question is about “LinkedIn Amazon Web Services (AWS)” All updated questions and answers related to “LinkedIn Amazon Web Services (AWS)” can be found on the “LinkedIn Amazon Web Services (AWS) Exam Answers” web page. If you spot an update in the questions or answers, please leave a comment on this page to let us know. We will provide updates as soon as possible.

Leave a Reply

Your email address will not be published. Required fields are marked *