title: Automating running command on Linux from Windows using PuTTY
body: <p>I have a scenario where I need to run <em>a</em> linux shell command frequently (with different filenames) from windows. I am using PuTTY and WinSCP to do that (requires login name and password).  The file is copied to a predefined folder in the linux machine through WinSCP and then the command is run from PuTTY. Is there a way by which I can automate this through a program. Ideally I would like to right click the file from windows and issue the command which would copy the file to remote machine and run the predefined command (in PuTTy) with the filename as argument.</p>