[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Running a Windows program on a remote windows box.......(From Linux??)

I need to be able to run varouse programs on different windows machines on demand from a linux machine.... currently I'm using a program called PSexec from
here: http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

which works great... except I have to have either call it directly from the windows machine or use a web interface I made that you call and it passes the requests on to the remote machine using the PSexec..... So as of now I'm having to make a request that makes a request and then it passes the output back to the windows machine... and then back to the linux machine through the web interface......

(ITs a pain)
and we have recently been having problems with the windows machine.... and would like to make the linux box more self suffecient in running these programs in case the windows web interface machine keeps dieing....(Plus we're in hope to remove windows from it in the future)

Any Ideas?? Thanks...
0
EHart7
Asked:
EHart7
1 Solution
 
Karl Heinz KremerCommented:
Please keep in mind that this is a Linux area, and you probably will not find a lot of Windows experts here :-)

You could run a ssh server on your Windows machines and then use ssh to remote execute programs. This would get you around PSexec and it's limitations. If you cannot execute the programs via ssh, you could write wrapper scripts that would execute the actual program, capture the output and write the output back to the calling process. You would then start these wrappers via ssh.

One source for a ssh server is the cygwin package (http://www.cygwin.com)

Another source is this project: http://sshwindows.sourceforge.net/
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now