EC2 Key Pair Change

后端 未结 5 711
轮回少年
轮回少年 2021-01-06 08:11

I have seen several questions and answers about changing the EC2 key pair for a running instance. However I am a complete AWS newbie at this point and I can easily stop the

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 08:37

    I agree with @yegor256 on the best method here to change your keys. You can also visually inspect the authorized_keys file to ensure that only the correct keys are listed--especially when using someone else's AMI. Just be sure the file has the correct permissions or you could lock yourself out accidentally.

提交回复
热议问题