3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
You can find step-by-step instructions in the EC2 User Guide under the Troubleshooting topic "I've lost my private key. How can I connect to my Linux instance?". https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html#replacing-lost-key-pair
répondu il y a un an
1
Another method is to stop the instance; then mount the instance volume on another instance (you only have to run the second instance temporarily); replace the key file; then restart the first instance.
Here are some instructions - note that this is an external link; the content isn't produced by AWS: https://www.cloudtechtiq.com/blog/how-to-recover-key-file-aws-instance
0
Which AMI are you using?
répondu il y a un an
It is Linux platform and Ubuntu distro
Contenus pertinents
- demandé il y a 9 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
If you don't have constraints about turning off the instance, i would suggest that you create an image from the instance, and then create the instance from the image