Skip to content

Instantly share code, notes, and snippets.

@bobbyd3
Created March 31, 2015 15:23
Show Gist options
  • Save bobbyd3/4f8d8397f633d63c9b8e to your computer and use it in GitHub Desktop.
Save bobbyd3/4f8d8397f633d63c9b8e to your computer and use it in GitHub Desktop.
SSH Key Snippets Linux
cat ~/.ssh/id_rsa.pub | ssh username@remote_host "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment