SSHEXEC Command Line Equivalent

Eric Fetzer <[email protected]> Wed, 28 Dec 2022 10:39:28 -0700
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAByBicbWiKZk3=DHPxufkavsNYUFaMqswSTdsWcFWL8Dw9BpJQ@mail.gmail.com>
--0000000000005ef81605f0e6da85
Content-Type: text/plain; charset="UTF-8"

Hi!  Can anyone tell me what the command line equivalent to the following
directive in ant is?

        <sshexec host="myHost.myDomain"
             username="myUser"
             keyfile="/var/lib/jenkins/.ssh/id_rsa"
             passphrase=""
             command="touch /myPath/toMyFiles/test.txt"
             trust="true"
             timeout="3000000"
             verbose="true"
             port="22"
        />

We've found a bug with this command in RHEL 8 and the RedHat folks won't
consider the sshexec command as a repro.  I've tried the best I can figure
and the command works from the command line however I've tried.  Thanks!
Eric

--0000000000005ef81605f0e6da85--