change keypairs ec2 running instance

前端 未结 3 1288
南方客
南方客 2021-02-04 12:51

Hello i\'ve made a big mistake with may key pairs on a ec2 Instance. I can\'t connect with sftp and putty because the private key is wrong.

How can i get access to my in

3条回答
  •  鱼传尺愫
    2021-02-04 13:14

    You can't change the keys on a running instance using the AWS console. Is this an EBS-boot volume, or using instance store? If the former, there is a roundabout way of doing it. If the latter, you're pretty much out of luck and will have to terminate the instance and create a new one.

提交回复
热议问题