Skip to main content
1 of 2

... had a same issue on RedHat; checked logs and found that home directory had incorrect user rights;

sshd[2507]: Authentication refused: bad ownership or modes for directory /home/user

fixing home dir rights solved this.