Passwordless ssh failed when login using username
- by Aczire
I was trying to setup Hadoop and was stumbled on passwordless ssh to localhost.
I am getting a password prompt when trying to connect using ssh username@hostname format.
But there is no problem connecting to the machine like ssh localhost or ssh hostname.com. Tried ssh-copy-id user@hostname but it did not work.
Using CentOS 6.3 as normal user, I…