Skip to content

Instantly share code, notes, and snippets.

@nmyers
Last active June 1, 2018 08:58
Show Gist options
  • Save nmyers/7e058c81c4e3d89ca96527b9d219c562 to your computer and use it in GitHub Desktop.
Save nmyers/7e058c81c4e3d89ca96527b9d219c562 to your computer and use it in GitHub Desktop.
Adding local ssh key to authorized key on a remote server
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment