?
Solved

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

Posted on 2004-04-26
3
Medium Priority
?
194 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 2000 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

801 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