I am trying to setup SSH key based login from server A to server B.
ssh-keygen on server A and used
ssh-copy-id to copy the id_rsa.pub to server B.
When I try to
ssh user@serverB from server A, I keep getting the error:
Permission denied (publickey).
I have double checked my
/etc/ssh/sshd_config file to make sure everything is setup correctly. Also have SELinux disabled on both servers. Any idea what could be causing this problem.