Created on 07-21-2016 03:01 PM
SYMPTOM: When you create an Oozie workflow which contains a SSH function, it can fail with an error of "Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 root@localhost mkdir -p oozie-oozi/0000009-131023115150605-oozie-oozi-W/Ssh--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)."
ROOT CAUSE: Passwordless SSH must be setup correctly from oozie@server1 to $user@server2
For example:
RESOLUTION:
If an Oozie workflow contains an ssh command from server 1 to server 2 as root, then the passwordless SSH must be setup as the following:
oozie@server1 > root@server2
Created on 07-21-2016 07:54 PM
Do you enter that line in the workflow itself to set up passwordless SSH?
Created on 03-17-2017 04:08 PM
Can someone please elaborate more on how to set up passwordless SSH or embed into workflow? Thank you.
User | Count |
---|---|
758 | |
379 | |
316 | |
309 | |
268 |