Skip to content

Instantly share code, notes, and snippets.

@rafzei
Created August 11, 2020 19:32
Show Gist options
  • Save rafzei/be60ac471b6c33e830757f7e4080d97f to your computer and use it in GitHub Desktop.
Save rafzei/be60ac471b6c33e830757f7e4080d97f to your computer and use it in GitHub Desktop.
Correct ssh permisions
chmod 700 ~/.ssh
chmod 644 \
~/.ssh/id_rsa.pub \
~/.ssh/known_hosts \
~/.ssh/authorized_keys \
~/.ssh/config
chmod 600 ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment