Add Keypair to existing EC2 instance

前端 未结 10 883
夕颜
夕颜 2020-11-28 17:32

I was given AWS Console access to an account with 2 instances running that I cannot shut down (in production). I would however like to gain SSH access to these instances, is

10条回答
  •  情深已故
    2020-11-28 17:54

    Once an instance has been started, there is no way to change the keypair associated with the instance at a meta data level, but you can change what ssh key you use to connect to the instance.

    stackoverflow.com/questions/7881469/change-key-pair-for-ec2-instance

提交回复
热议问题