I have a 3 node cluster on ec2, the nodes are successfully networked together and communicating.
when I go through the steps to get passwordless ssh set up, I'm getting the failure of "Permission denied (publickey)".
I'm issuing the ssh-keygen as root - and that executes fine, but then I get the above failure.
Am I supposed to take the key I'm using in Putty and ftp that up to the server? I'm confused.
The steps work fine when I'm using virtual images on my computer, but not in ec2.
Please have a look at this good HCC document by Constantin Stanca https://community.hortonworks.com/questions/52307/how-to-create-password-less-ssh-between-two-aws-e...
That should help you