Skip to content

Instantly share code, notes, and snippets.

@ajdruff
Last active April 25, 2019 06:22
Show Gist options
  • Save ajdruff/b664bd62cd739bdfbc1deeef80c104cb to your computer and use it in GitHub Desktop.
Save ajdruff/b664bd62cd739bdfbc1deeef80c104cb to your computer and use it in GitHub Desktop.
SSH Permissions
        #sets permissions so you don't get error that permissions are too open
        #ref: https://superuser.com/a/215506
        find /$HOME/.ssh/ -type f -exec chmod 600 {} \;
        find /$HOME/.ssh/ -type d -exec chmod 700 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment