If you’re using a windows machine, download plink.exe. It’s available here, along with putty.
Plink is the command-line equivalent of putty, and allows you to use batch statements like the following to execute SSH commands:
@echo off set username=%1 set password=%2 set serverip=%3 REM The set statements above accept 3 arguments to this .bat file. REM They're interpolated before being executed as part of the plink command below: plink -ssh -l %username% -pw %password% -t %serverip% "ls"

