Created
June 25, 2013 11:44
-
-
Save breenie/5857858 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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