Skip to content

Instantly share code, notes, and snippets.

@wouterds
Created September 4, 2021 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wouterds/e1e025531e485091f5050b9e0bd585c3 to your computer and use it in GitHub Desktop.
Save wouterds/e1e025531e485091f5050b9e0bd585c3 to your computer and use it in GitHub Desktop.
code permissions
sudo chown -R code:code /home/code
sudo chmod 600 /home/code/.ssh/id_rsa
sudo chmod 600 /home/code/.ssh/id_rsa.pub
sudo chmod 600 /home/code/.ssh/id_rsa.pem
sudo chmod 600 /home/code/.ssh/authorized_keys
sudo chmod 700 /home/code/.ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment