Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 want to install Ubuntu 11.10. Is there any way to keep my current RSA keys?

share|improve this question
You could just move them to ~/.ssh, you may have to make the directory. – Rob Nov 22 '11 at 1:46
@Rob So I could just copy them to an external drive, do the install, then copy them back? – danwoods Nov 22 '11 at 1:50
yup make sure to grab the public and private parts. – Sirex Nov 22 '11 at 10:17
up vote 9 down vote accepted

Yes, easily. Simply copy the ~/.ssh directory onto an external drive, perform the install, then copy them back.

share|improve this answer

When you reinstall Ubuntu you can keep your home folder, with ALL your settings, files, etc.

Just don't format any partitions and your /home will be kept.

In particular, your private authentication keys are preserved.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.