Created
October 2, 2017 22:16
-
-
Save schuyberg/9f3ac094a39e8a04e1b28d7862876436 to your computer and use it in GitHub Desktop.
known hosts 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
chmod 700 $HOME/.ssh | |
chmod go-w $HOME $HOME/.ssh | |
chmod 600 $HOME/.ssh/authorized_keys | |
chown `whoami` $HOME/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment