Skip to content

Instantly share code, notes, and snippets.

@pjankiewicz
Created October 26, 2014 06:16
Show Gist options
  • Save pjankiewicz/09fed5b892c00a5efe02 to your computer and use it in GitHub Desktop.
Save pjankiewicz/09fed5b892c00a5efe02 to your computer and use it in GitHub Desktop.
Useful linux commands
// adds ssh key to a server
cat ~/.ssh/id_rsa.pub | ssh -l root 1.1.1.1 'cat >> .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment