My computer was stolen the day before yesterday, and I put one of my servers private key in that, the key is password protected, so it should be OK. But the problem is that now I can not access the server.
The server is Ubuntu, Amazon EC2, Root Device: Instance Store. I've been searching this for a whole day, looks like if the server is EBS, then it will be easier to just create an image and launch a new instance. But unfortunately mine is not.
I really hope that some one can give me an advise on how to get access to the server, my user type is root, so no one else can modify the key for me.
I don't know if you can create private key from the public key, and I don't know if you can actually get the public key from Amazon EC2. Please help.
Thank you very much!
相关问题
- Is shmid returned by shmget() unique across proces
- Why doesn't php sleep work in the windows-subs
- how to get running process information in java?
- JQ: Select when attribute value exists in a bash a
- Installing Pydev for Eclipse throws error
Try to do like this:
Login to your AWS Management Console, in
EC2
tab view, you'll find something like1 key Pair
, click it, delete your old key pair, then create new pair.EDIT:
Got a related question HERE
and HERE
How to create your own AMI? HERE. ;)