LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I run a remote command on a Windows XP machine? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-run-a-remote-command-on-a-windows-xp-machine-888173/)

laredotornado 06-24-2011 01:50 PM

How do I run a remote command on a Windows XP machine?
 
Hi,

I'm using Ubuntu 11.04. I have a Windows XP box in which I've installed SFU 3.5 and Interix (Subsystem for Unix-based Applications). I want to run a batch script on the Windows machine from my Linux box, whether on-demand or in a cron. How do I do this from the Linux side?

Thanks, - Dave

pljvaldez 06-24-2011 01:56 PM

I would guess you have to install an ssh server on the windows box with passwordless login (i.e. with a key pair). The make your script remotely connect to that box and run the remote command.

baldy3105 06-25-2011 07:55 AM

deploy one of the many thousands of trojans that its vulnerable to?

(sorry, cheap shot....)

TobiSGD 06-25-2011 08:02 AM

Quote:

Originally Posted by baldy3105 (Post 4395384)
deploy one of the many thousands of trojans that its vulnerable to?

(sorry, cheap shot....)

Very cheap shot, no OS is vulnerable to trojans, but humans are.

baldy3105 06-26-2011 06:55 AM

Quote:

Originally Posted by TobiSGD (Post 4395385)
Very cheap shot, no OS is vulnerable to trojans, but humans are.

Awwww bless him, eh? Isn't he cute?


All times are GMT -5. The time now is 12:19 AM.