You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by 王猛 <sj...@gmail.com> on 2016/04/01 05:58:48 UTC

AUTH_FAILED of SSH action(by hand on the command line in Oozie server host , it worked,)

I am trying to run SSH Commands using Oozie Workflow.xml in Oozie4.0.0:

Workflow.xml

<action name="sshjob">
    <ssh xmlns="uri:oozie:ssh-action:0.1">
        <host>XXX.XX.XX.XXX</host>
        <command>cp</command>
        <args>a.txt</args>
        <args>b.txt</args>
    </ssh>
    <ok to="end"/>
    <error to="kill"/>
</action>

*But Get this Error:*

AUTH_FAILED: Not able to perform operation [ssh -o
PasswordAuthentication=no -o KbdInteractiveDevices=no -o
StrictHostKeyChecking=no -o ConnectTimeout=20 user@XXX.XX.XX.XXX mkdir -p
oozie-oozi/0000067-130808155814753-oozie-oozi-W/sshjob--ssh/ ] |
EErrorStream: Warning: Permanently added 10.121.48.94 (RSA) to the list of
known hosts.

*by hand on the command line in Oozie server host  and it worked, but when
launched via Oozie SSH action it failed.*