up3i4a
Last Updated: February 25, 2016
·
500
· remear
968946c4d1824a743f431f5f57a1e7f3

SSH Public Key Authentication

If you're trying to get SSH public key authentication working and get the following:

Authentication refused: bad ownership or modes for directory /home/user

Fix your permissions with:

chmod g-w /home/user
chmod 700 /home/user/.ssh
chmod 600 /home/user/.ssh/authorized_keys