Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29243

Recovering pem file connection rejected after ebs volume attach/detach new EC2 instance

$
0
0

Objective:

lost pem file - recover connection for aws ec2 instance

what i tried:

As per most of Stack overflow Answers, 
1) created new intstance
2) detach volume of lost instance and attach to new one
3) ssh to new instance, mount, copied keys, and umount 
4) attach volume to original instance

Guide given in the link Recover pem file

But using the new key, i could not get logged in

port 22: Network is unreachable

Any help pls?


Viewing all articles
Browse latest Browse all 29243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>