Plink -m option with parameters
Hello guys,
I'm using Plink to execute a shell script on a linux machine from a windows machine. I'm using the -m option. That works perfectly but now I want to pass parameter in my command line and I don't know how to do that. I tried differents approach but without any success.
Currently my command line is :
plink -i <myPrivateKey> -ssh -batch root@serverName -m c:\temp\myFile.sh
Adding parameters doesn't change anything :
e.g : plink -i <myPrivateKey> -ssh -batch root@serverName -m c:\temp\myFile.sh param1 param2
Has someone an idea ? How can pass paremeters ?
Thanks in advance