Execute local script requiring arguments on Linux via plink
- by c_maker
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?