Created
April 27, 2020 12:49
-
-
Save rockavoldy/7fb7b5d44c93f26f2df8796261b6e706 to your computer and use it in GitHub Desktop.
permissions needed for .ssh directory and inside
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
eval "$(ssh-agent -s)" | |
ssh-add $HOME/.ssh/id_rsa |
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
chmod 700 $HOME/.ssh | |
chmod 644 $HOME/.ssh/config | |
chmod 644 $HOME/.ssh/id_rsa.pub | |
chmod 600 $HOME/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment