-
-
Save attomos/2555428 to your computer and use it in GitHub Desktop.
webfaction ssh
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
The procedure for setting up automatic private/public key login on our servers is as follows: | |
- On your own machine, go to $HOME/.ssh and type: ssh-keygen -t dsa | |
- When prompted for it, leave the default location for the file and let the passphrase empty | |
- Copy the content of the "id_dsa.pub" file that just got created into the $HOME/.ssh/authorized_keys and authorized_keys2 on our machine. | |
- Set the following permissions: | |
chmod 644 $HOME/.ssh/authorized_keys* | |
chmod 700 $HOME/.ssh | |
chmod 750 $HOME/ | |
That's it, you shouldn't get prompted for your password anymore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment