I want to ssh into a remote Windows box, and launch a .cmd file - the caveat being that the command window has to stay open for the launched application to remain accessible. Is this possible?

  • how are you doing SSH to a cmd prompt? Have you tried cmd /k blah.cmd ?
    – barlop
    Apr 15 '14 at 21:30

You don't need to launch a cmd as far as you have an ssh connection. The ssh session is your cmd. One option is to install Cygwin openssh server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.