Solved

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

Posted on 2004-04-26
3
177 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

778 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