First of all I got this error after accidentally messing up my usergroup by using usermod -G user group
When I would login using SSH keys it would fail:
sshd: Authentication refused: bad ownership or modes for directory /home/one
No worries, the fix is simple!
chmod g-w /home/use
authentication, ownership, modes, directory, user, ssh, solutionfirst, usergroup, usermod, login, sshd, chmod,