Skip to content

Instantly share code, notes, and snippets.

@olooney
Created March 24, 2013 11:19
Show Gist options
  • Save olooney/5231480 to your computer and use it in GitHub Desktop.
Save olooney/5231480 to your computer and use it in GitHub Desktop.
ssh-copy-id lite
cat ~/.ssh/id_rsa.pub | ssh $USER@$SERVER "umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment