Seems like the ssh is not properly set. Try this:
Create the SSH Key in the master node. (Press enter button when it asks you to enter a filename to save the key).
$ ssh-keygen -t rsa -P “”
Copy the generated ssh key to the master node’s authorized keys.
$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
Copy the master node’s ssh key to the slave’s authorized keys.
$ ssh-copy-id -i $HOME/.ssh/id_rsa.pubedureka@slave
Note: If you have used a different username, then replace it in the above commands respectively.