Skip to content

Instantly share code, notes, and snippets.

@breenie
Created June 25, 2013 11:44
Show Gist options
  • Save breenie/5857858 to your computer and use it in GitHub Desktop.
Save breenie/5857858 to your computer and use it in GitHub Desktop.
$ ssh-keygen -t dsa
$ scp ~/.ssh/id_dsa.pub <host name>:.ssh/authorized_keys2
# This only needs to be called once to add the key.
$ ssh-agent sh -c 'ssh-add < /dev/null && bash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment