在ebs卷附加/分离新的EC2实例后,恢复pem文件连接被拒绝

时间:2016-03-17 04:13:55

标签: ssh amazon-ec2 ssh-keys pem

目标:

丢失pem文件 - 恢复aws ec2实例的连接

我尝试了什么:

User      PR   NI VIRT   RES  SHR S %CPU  %MEM  TIME+    COMMAND  
jenkins   20   0  56.9g  32g  27m S 195.9 51.9  85799:44 java

链接中给出的指南 Recover pem file

但是使用新密钥,我无法登录

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

有任何帮助吗?

0 个答案:

没有答案