How to transfer my SSH keys to another machine?
Problem
I have accounts on two machines: H1 and H2. I created ssh keys on H1 and installed it on S1. I can now ssh to S1 from H1. I want to do the same from H2. How do I install the ssh keys generated on H1 on H2?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to transfer my SSH keys to another machine?
Edited: If you own both machines, you may share your private key. But this solution is not safe for case of stolen notebook or for machines you don't own. You may copy your private keys from H1 to H2, if you want to use the same private key to be able to login from H2 to S1. When you are at H1 do these commands: Warning! This will delete and replace any private key you had at H2. Better way is to generate new private keys on H2 ( ) and install their public part on S1 with util. In this safer ca…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix