password-less ssh works to connect to one user on a remote machine but not another

view full story

http://serverfault.com – The remote server is running CentOS 5.5. I have created an rsa key from my client server, and copied it into /home/hadoop/.ssh/authorized_keys. This worked fine - I can ssh to hadoop@remoteserver without being prompted for a password. I also have a data user on remote server that I want to ssh into. I copied the exact authorized_keys file over to the data user's home directory, but cannot ssh in. I believe the permissions are set correctly - when I do ls -al in /home/data/.ssh on the remote server, it shows: drwx------ 2 data data 4.0K Dec 20 12:52 . drwxrwxr-x 26 data data 4.0K Dec 20 (HowTos)