Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to install Ubuntu 11.10. Is there any way to keep my current RSA keys?

share|improve this question
2  
You could just move them to ~/.ssh, you may have to make the directory. –  Rob Nov 22 '11 at 1:46
1  
@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

2 Answers 2

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

 
discard

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.