Skip to content

Instantly share code, notes, and snippets.

@janosmiko
Last active January 14, 2017 22:48
Show Gist options
  • Save janosmiko/cab30857f76b2e3e454b4112fc127d08 to your computer and use it in GitHub Desktop.
Save janosmiko/cab30857f76b2e3e454b4112fc127d08 to your computer and use it in GitHub Desktop.
## on the old server
# ssh-keygen -f /tmp/id_rsa -t rsa -N ''
# ssh-copy-id -i /tmp/id_rsa.pub root@{new-servers-ip}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment