0

From a running EC2 instance, how do I download the AWS generated private key for use with SSH and WinSCP in PEM format?

enter image description here

I expected to see Download on the Actions menu, but it's not there. I'm posting this after spending a few hours trying to get this information in a way I can understand it.

mbmast
  • 133
  • 1
  • 6
  • 3
    **You must download the private key during the creation operation.** Once that's complete it's no longer possible. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html step 9 in the first section (create on EC2) – dave_thompson_085 Mar 08 '23 at 02:58
  • If you didn't download the key during creation, you could create an AMI from your instance and create another instance with another key. – palvarez Mar 10 '23 at 14:24

0 Answers0