- Create or Copy Development machine's public RSA located
~/.ssh/id_rsa.pub - Login to server and paste it in
vim ~/.ssh/authorized_keys - Ensure that
/etc/ssh/sshd_configcontainsPubkeyAuthentication yesandRSAAuthentication yesuncommented - Finally set
chmod go-w ~/,chmod 700 ~/.ssh, andchmod 600 ~/.ssh/authorized_keysto make sure that permissions are set correctly
Last active
December 18, 2015 12:39
-
-
Save seifsallam/5784348 to your computer and use it in GitHub Desktop.
login using SSH with no password
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment