Last active
October 10, 2018 00:16
-
-
Save blue-bird1/bb1157277980c6b11fa2c05a8f22d635 to your computer and use it in GitHub Desktop.
ssh key setup #debian
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 | |
cd ~/.ssh | |
cat id_rsa.pub >> authorized_keys | |
chmod 600 authorized_keys | |
chmod 700 ~/.ssh | |
service sshd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment