title: Best way to script remote SSH commands in Batch (Windows)
body: <p>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.</p>
  
  <p>I tried <code>putty.exe -ssh user@host -pw password -m command_run</code> but it doesn't return anything on my screen.</p>
  
  <p>Anyone done this before?</p>