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

How to migrate multiple SSH certificates to a different computer?

I have generated multiple SSH crtificates (key pairs) on computer A and copied the .ssh directory including

  • the default key pair id_rsa and and
  • the second pair id_rsa_1 and and
  • the configuration file config

on my USB drive.

How to duplicate the same SSH setting on a different computer B?

share|improve this question
up vote 3 down vote accepted

Copy your .ssh directory to your homedir on computer B.

All the files you listed are completely self-contained; they are not tied to any system property or additional configuration. id_rsa contains RSA parameters in a standard format, nothing more. config is a text file containing your settings which you yourself can edit. They can be copied between systems freely.

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.