Created
October 12, 2010 20:09
-
-
Save rynmrtn/622819 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
# Generate a Key | |
$ ssh-keygen -t rsa | |
# Create the .ssh folder on the remote machine w/ the user & setup permisisons | |
$ mkdir .ssh | |
$ chmod 700 .ssh | |
# Copy key to another server | |
$ cat .ssh/id_rsa.pub | ssh deploy@location.com "cat >> .ssh/authorized_keys2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment