Created
April 26, 2017 13:39
-
-
Save Mrkisha/bd8a063482f5219d61425c892dd06833 to your computer and use it in GitHub Desktop.
Copy ssh key from one server to another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#server 1 | |
cat ~/.ssh/id_rsa.pub | |
#server 2 | |
nano ~/.ssh/authorized_keys | |
#copy key from server 1 to server 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment