Created
September 4, 2021 12:21
-
-
Save wouterds/e1e025531e485091f5050b9e0bd585c3 to your computer and use it in GitHub Desktop.
code permissions
This file contains hidden or 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
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