Skip to content

Instantly share code, notes, and snippets.

@blue-bird1
Last active October 10, 2018 00:16
Show Gist options
  • Save blue-bird1/bb1157277980c6b11fa2c05a8f22d635 to your computer and use it in GitHub Desktop.
Save blue-bird1/bb1157277980c6b11fa2c05a8f22d635 to your computer and use it in GitHub Desktop.
ssh key setup #debian
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