Back to TIL
shell

Proper SSH Permissions

A little reminder for SSH setups: ~/.ssh directory permissions should be mode 700, and authorized_keys should be mode 644. SSH doesn’t like it if they aren’t configured like that.

$ chmod 700 ~/.ssh
$ chmod 644 ~/.ssh/authorized_keys