Skip to content

Instantly share code, notes, and snippets.

@robdmc
Created May 25, 2015 23:35
Show Gist options
  • Save robdmc/b09b6d08f94e29c33964 to your computer and use it in GitHub Desktop.
Save robdmc/b09b6d08f94e29c33964 to your computer and use it in GitHub Desktop.
ssh key push for remote login
cat ~/.ssh/id_rsa.pub | ssh user@host 'cat - >> ~/.ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment