Issue: We are trying to run few commands on a particular host machine of our cluster. We chose SSH Action for the same. We have been fa
Whatever quux00 has answered is right. I am just adding few points to that. As the command ssh in the ssh-action will be executed by oozie user, then you will need to set oozie as a bash user.
To do that you need to change the /etc/passwd file on all the nodes of the cluster. Look for the below value (similar to it) in the /etc/passwd file.
oozie:x:488:487:Oozie User:/var/lib/oozie:/bin/false
and change it to
oozie:x:488:487:Oozie User:/var/lib/oozie:/bin/bash
which will actually make oozie user a bash user. And then proceed with the password-less authentication between the oozie user and any other user that you want on any of the host machine.
And then try to rerun the oozie job again. And let me know if it works. Hope it helps!!!