Hi Hollis,

To execute a remote shell using ssh, I'd use 'sh' command and its -c
option with ExecuteStreamCommand or ExecuteProcess.

For example, ExecuteStreamCommand configuration would look like:
- Command Path: sh
- Command Arguments: -c;ssh [email protected] command-to-execute-on-remote
- Argument Delimiter: ;

Thanks,
Koji

On Mon, Jun 26, 2017 at 5:20 PM, [email protected] <[email protected]> wrote:
> Hi,
>      I am a newcomer of using nifi. I mean to use nifi to execute remote ssh
> shell. So I want to query there is a possibilty to use nifi to execute
> remote ssh shell (just like using oozie ssh to excute remote ssh shell).
>
> ________________________________
> Thanks,
> Hollis

Reply via email to