LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2011, 02:50 PM   #1
laredotornado
Member
 
Registered: Apr 2011
Posts: 62

Rep: Reputation: 0
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
 
Old 06-24-2011, 02:56 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 06-25-2011, 08:55 AM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 877

Rep: Reputation: 184Reputation: 184
deploy one of the many thousands of trojans that its vulnerable to?

(sorry, cheap shot....)
 
Old 06-25-2011, 09:02 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by baldy3105 View Post
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.
 
Old 06-26-2011, 07:55 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 877

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by TobiSGD View Post
Very cheap shot, no OS is vulnerable to trojans, but humans are.
Awwww bless him, eh? Isn't he cute?

Last edited by baldy3105; 06-26-2011 at 07:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use ssh and run command in the remote machine using shell script salmanmanekia Linux - Newbie 8 04-28-2011 08:41 AM
How to run a script to a remote linux machine from a windows machine squirrel001 Linux - Newbie 5 05-04-2009 07:06 PM
Is is feasible to run apps on remote machine via NFS? Earl Parker II Linux - Software 10 03-11-2009 06:36 PM
Run application on *monitor* of remote machine via SSH? DiBosco Linux - Networking 5 04-09-2007 09:57 AM
run commands in remote machine lhrt Linux - Software 2 01-13-2007 09:09 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration