2

There's a lot of buttons on the AWS console. Is it possible to add a public key to an ec2 instance strictly using the EC2 dashboard?

I'm not on the machine that contains the original keypair associated with the instance, so I don't have ssh access.

askedJan 26, 2016 at 17:44
Evan Harris's user avatar

2 Answers2

3

No. Not possible. The key is added when you launch. Any new public key has to be associated with a new user, for that you have to be logged into that instance.

If you lose the original key(pair) you are out of luck. There is a way to attach your root partition to some other instance, fix the public key and reattach the partition to your instance. Search Stack Overflow for that solution.

answeredJan 26, 2016 at 18:30
helloV's user avatar
Sign up to request clarification or add additional context in comments.

Comments

1
answeredNov 9, 2020 at 14:24
Lautaro Ramos's user avatar

Comments

Your Answer

Sign up orlog in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to ourterms of service and acknowledge you have read ourprivacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.