Solved

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

Posted on 2004-04-26
3
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
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.

724 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