Created
January 27, 2024 21:55
-
-
Save etoosamoe/6cdb3e60b341930706084937649f177f to your computer and use it in GitHub Desktop.
ssh directory permissions // ssh files chown
This file contains 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
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