I have installed Hadoop on following path:
/opt/hadoop
Also installed openssh-server
with following commands:
sudo apt-get install openssh-server openssh-client
After this I created RSA keys with following commands:
ssh-keygen -t rsa -P ""
After that i copied to slave system and created copy using:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
sudo chmod 0600 ~/.ssh/authorized_keys
Everything was working fine with Hadoop and SSH. Suddenly SSH asking for password each and every time I run
ssh hduser@MasterNode
or
/opt/hadoop/sbin/start-all.sh
ssh -vvv hduser@MasterNode
– jhilmer Jan 12 '17 at 13:57