LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I want to run script on the server from client machine in windows in a perl script (http://www.linuxquestions.org/questions/linux-newbie-8/i-want-to-run-script-on-the-server-from-client-machine-in-windows-in-a-perl-script-666795/)

vpradeep 09-01-2008 02:23 AM

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

matthewg42 09-01-2008 02:30 AM

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.

chrism01 09-01-2008 03:29 AM

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


All times are GMT -5. The time now is 08:21 PM.