Skip to content

Instantly share code, notes, and snippets.

@Mrkisha
Created April 26, 2017 13:39
Show Gist options
  • Save Mrkisha/bd8a063482f5219d61425c892dd06833 to your computer and use it in GitHub Desktop.
Save Mrkisha/bd8a063482f5219d61425c892dd06833 to your computer and use it in GitHub Desktop.
Copy ssh key from one server to another
#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