目标:
丢失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
有任何帮助吗?