I am looking to script something in batch which will need to run remote ssh commands on Linux. I would want the output returned so I can either display it on the screen or log it.
I tried putty.exe -ssh user@host -pw password -m command_run
but it doesn't return anything on my screen.
Anyone done this before?
See Question&Answers more detail:os