Skip to content

Instantly share code, notes, and snippets.

@rockavoldy
Created April 27, 2020 12:49
Show Gist options
  • Save rockavoldy/7fb7b5d44c93f26f2df8796261b6e706 to your computer and use it in GitHub Desktop.
Save rockavoldy/7fb7b5d44c93f26f2df8796261b6e706 to your computer and use it in GitHub Desktop.
permissions needed for .ssh directory and inside
eval "$(ssh-agent -s)"
ssh-add $HOME/.ssh/id_rsa
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