Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brunocruzcoelho/8595341 to your computer and use it in GitHub Desktop.
Save brunocruzcoelho/8595341 to your computer and use it in GitHub Desktop.
send publick key to a remote machine
cat ~/.ssh/id_rsa.pub | ssh USERNAME@REMOTE_MACHINE 'cat >> .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment