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.

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 id_rsa.pub and
  • the second pair id_rsa_1 and id_rsa_1.pub 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

1 Answer 1

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

 
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.