change keypairs ec2 running instance

前端 未结 3 1290
南方客
南方客 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:23

    I think you need to rebuild the instance with a old(correct) key pair.

    http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#EC2KeyPairs

提交回复
热议问题