4
Is it possible to execute (from windows) a local script with arguments on a remote linux system?
Here's what I got:
plink 1.2.3.4 -l root -pw mypassword -m hello.sh
Is there a way to do this same thing, but able to give input parameters to hello.sh?
I've tried many things, including:
plink 1.2.3.4 -l root -pw mypassword -m hello.sh input1 input2
In this case it seems that plink thinks that input1 and input2 are its arguments.. which makes sense.
What are my options?
I don't think is is the same issue OP described, in this case the executed script resides on the remote machine, doesn't it? – martonbognar – 2018-07-27T12:14:02.463