I'm running the following command in windows console:
"C:\Putty\putty.exe" -load "mySavedSession1" -m C:\somePath\localScript.txt -v
localScript.txt content:
/somePath/update-new-ver.sh
the remote machine is Ubuntu and I want putty to run the remote script.
If I run this /somePath/update-new-ver.sh in putty GUI on remote-command box, its working fine, but from windows console it just open and close putty real quick and I cant see if there is an exception thrown.
- How can I make putty to stay open when done?
- Am I running this remote script the right way?