Skip to content

Instantly share code, notes, and snippets.

@badsyntax
Created May 18, 2010 09:11
Show Gist options
  • Save badsyntax/404803 to your computer and use it in GitHub Desktop.
Save badsyntax/404803 to your computer and use it in GitHub Desktop.
ssh-keygen -t dsa; cat ~/.ssh/id_dsa.pub | ssh -l REMOTE_USER REMOTE_SERVER 'cat >> ~/.ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment