title: Executing exe or bat file on remote windows machine from *nix
body: <p>I am trying to execute a bat file on remote windows machine on cloud from my Linux. The bat files starts selenium server and then my selenium tests are run. I am not able to start selenium RC server on that machine. I tried with Telnet but the problem with it is when telnet session is closed the RC server port is also closed. As my code my code has to start the server so I tried with ANT telnet task and also executed shell script of telnet in both ways the port was closed.  </p>
  
  <p>I read about Open SSH, psexec for linux and cygwin. But i am not getting how to use these and will they will solve my problem.</p>
  
  <p>I have tried to start a service which will start the server but in this method i am not getting browser visible all tests are running in background as my script takes screen shot browser visibility is must.</p>
  
  <p>Now my Question is what to use and which will be preferable for my job.
  and what ever i choose should be executed by code it may be by shell, ant or php.</p>
  
  <p>Thanks in advance.</p>