Skip to content

Instantly share code, notes, and snippets.

@etoosamoe
Created January 27, 2024 21:55
Show Gist options
  • Save etoosamoe/6cdb3e60b341930706084937649f177f to your computer and use it in GitHub Desktop.
Save etoosamoe/6cdb3e60b341930706084937649f177f to your computer and use it in GitHub Desktop.
ssh directory permissions // ssh files chown
chown -R $USER:$USER ~/.ssh
chmod 700 ~/.ssh
chmod 644 ~/.ssh/*
chmod 600 ~/.ssh/id_* ~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment