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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-04-2009, 03:03 PM
|
#1
|
Member
Registered: Feb 2006
Posts: 51
Rep:
|
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
|
|
|
05-04-2009, 03:30 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
What does "run a script to a remote linux machine" mean to you?
Can you re-phrase that?
Cheers,
Tink
|
|
|
05-04-2009, 04:53 PM
|
#3
|
Member
Registered: Feb 2006
Posts: 51
Original Poster
Rep:
|
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.
|
|
|
05-04-2009, 04:59 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
05-04-2009, 05:56 PM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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.
|
|
|
05-04-2009, 06:06 PM
|
#6
|
Member
Registered: Feb 2006
Posts: 51
Original Poster
Rep:
|
Thanks a lot. I am going to try it.
|
|
|
All times are GMT -5. The time now is 05:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|