SSH from AIX to windows server and run a windows batch script.
Posted on 2009-04-02
I need to run a script from an AIX server that logs into a Win 2003 server and runs a windows batch script.
I tried testing this via command line (still need to work out the ssh key so i don't need pw, but thats ok for now) When I run the below command and login, its removing the \ from the runline and not finding the script i am trying to run.
ssh email@example.com "C:\scripts\winbat.bat"
C:scriptswinbat.bat: not found