Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a running EC2 instance with Debian 10.04LTS that I'd like to change the root SSH key of. How do I do this, since amazon set up that key initially for me? Can I just change it the way I'd normally change a user's SSH login key? Or will EC2 get confused for some reason?

share|improve this question
up vote 3 down vote accepted

There is currently no way to change it without terminating the instance. This site explains in further detail on how you should proceed in order to change the root SSH key and preserve all the data on the disk.

share|improve this answer
Really? No way? I see that rightscale recommends terminating the instance, but how deep into the linux kernel do EC2's tendrils reach that we can't reconfigure login data on the server? Thanks for the link, BTW. – Leopd Jun 2 '11 at 18:20
Nope, just checked the Amazon Web Services forums, same answer. Can't change it without terminating the instance. – paradd0x Jun 2 '11 at 18:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .