I am using CentOS 6.5. SSH authentication fails with both public key (id_rsa) and using password (after public key attempt). This is happening when I am trying to connect to a remote node (with identical home directory - nfs share) or to localhost. On the other hand, SSH authentication and passwordless login works fine from root account (can ssh to and from remove node).
When I am logged in as user, the verbose mode first shows that public key was sent, but it never gets accepted and password method of authentication is selected next. However, even password method doesn't work. I am prompter to enter password three times and all fail. Same problems are repeated if I try to create a brand new user.
Here are some of the commands that fail (to remove node and to localhost):
ssh -v user@n100 ssh -v user@m0 ssh -v user@localhost ssh -v email@example.com
Why SSH doesn't work from user acount?