Solved

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

Posted on 2004-04-26
3
181 Views
Last Modified: 2010-04-20
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
Comment
Question by:EHart7
3 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 10923824
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question