I am trying to automate sending remote commands/getting responses to a linux host with plink/putty through a serial connection. I can successfully establish the connection:
plink.exe -load "COM4"
But how can I add my commands to the above?What I am looking for is something similar to:
plink.exe -load "COM4" <command> <parameter -1> <parameter-2> ...
I have already tried:
plink.exe -load "COM4" echo <command>
plink.exe -load "COM4" <command>
and they don't seem to work! Any ideas?
Thank you