LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-04-2009, 03:03 PM   #1
squirrel001
Member
 
Registered: Feb 2006
Posts: 51

Rep: Reputation: 15
How to run a script to a remote linux machine from a windows machine


Hello,
I need to run a script to a remote linux machine from a windows machine. Which program do i need to use for this? Please provide me guideline.
Thanks
 
Old 05-04-2009, 03:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
What does "run a script to a remote linux machine" mean to you?
Can you re-phrase that?


Cheers,
Tink
 
Old 05-04-2009, 04:53 PM   #3
squirrel001
Member
 
Registered: Feb 2006
Posts: 51

Original Poster
Rep: Reputation: 15
Hi,
With remote linux machine i just meant a server machine running on linux. Usually i log on the linux server by citrix ica client from windows and run my required scripts. I just want to run the required scripts with some automated program/script in windows (without logging in via citrix).
Thanks.
 
Old 05-04-2009, 04:59 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Well ... you'll need to connect to the machine SOMEHOW to run
something on it.
There's ssh as a good option, you can even run things w/o
an interactive login session, e.g.
Code:
ssh user@host "/path/to/script parameter"

Cheers,
Tink
 
Old 05-04-2009, 05:56 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
From Windows, you may want to look into the putty ssh client to do as Tinkster suggests. See http://www.chiark.greenend.org.uk/~sgtatham/putty/.

The plink utility is the command line version in the putty suite.

Last edited by billymayday; 05-04-2009 at 05:57 PM.
 
Old 05-04-2009, 06:06 PM   #6
squirrel001
Member
 
Registered: Feb 2006
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks a lot. I am going to try it.
 
  


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 do I Remote access/Desktop Linux from a Windows machine Zed Supremus Linux - Networking 6 09-04-2011 12:11 AM
I want to run script on the server from client machine in windows in a perl script vpradeep Linux - Newbie 2 09-01-2008 03:29 AM
How to do remote access to a Linux machine using Windows XP cucolin@ Linux - Software 3 06-01-2006 01:18 PM
accessing windows drive from remote linux machine ragchan Mandriva 6 12-14-2004 09:10 PM
Open Linux Terminal from remote Windows machine m1ke Linux - Networking 5 11-12-2001 01:34 AM


All times are GMT -5. The time now is 07:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration