LinuxQuestions.org
Review your favorite Linux distribution.
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 09-01-2008, 02:23 AM   #1
vpradeep
LQ Newbie
 
Registered: Jun 2008
Location: bangalore
Posts: 4

Rep: Reputation: 0
I want to run script on the server from client machine in windows in a perl script


hi,
i have a script on the server. i am working on the client machine
which is windows and writing a perl script to run a script on server, can anybody help me with full routine.

thanks in advance
 
Old 09-01-2008, 02:30 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 62
You could use an ssh client (e.g. putty) to connect to the server and invoke it like any other program?

If it is a long running program and you want to disconnect while it runs, run it in a screen session, and then so control-A control-D to disconnect. You can then log out. At some point in the future you can log back in and do "screen -r" to reconnect to see the output.
 
Old 09-01-2008, 03:29 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
And you'll prob use this module: http://search.cpan.org/~dbrobins/Net...et/SSH/Perl.pm
 
  


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 execute a ssh script on Linux server from Windows through a bat script? wanna13e Programming 13 10-23-2009 02:41 AM
MySQL Updates With Null When Perl Script Run From Shell Script ThisGuyIKnow Programming 6 08-12-2008 09:56 AM
how to run a shell script in the perl script sharad Linux - General 1 05-24-2006 03:23 AM
client authentication passed onto perl script paul_mat Programming 1 02-12-2006 10:47 PM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 10:22 AM


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

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