Click here to get back home

how to execute command on remote machine

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to execute command on remote machine Jianli Shen 09-21-2005
Get Chitika Premium
Posted by Jianli Shen on September 21, 2005, 12:40 am
Please log in for more thread options




Hi:

I want run perl script on machine A,
A: ./test.pl
../test.pl will ssh to machine B execute command (cd dirB; runB &),
then ssh to machine C, execute command (cd dirC; runC &)

Thanks.




Posted by nybble on September 21, 2005, 5:37 am
Please log in for more thread options


Jianli Shen wrote:
> I want run perl script on machine A,
> A: ./test.pl
> ./test.pl will ssh to machine B execute command (cd dirB; runB &),
> then ssh to machine C, execute command (cd dirC; runC &)

I suspect that fork and Net::SSH will probably be what you are looking
for...



Similar ThreadsPosted
filecopy from remote machine to local machine February 7, 2006, 8:50 am
I need to access foundry switch for execute command. April 19, 2006, 8:56 am
Remote.pm (File::Remote) error handling question January 29, 2007, 12:57 pm
Remote.pm (File::Remote) problem February 28, 2006, 9:50 pm
DBD::Pg on machine without Postgres November 3, 2004, 11:16 am
How to know what perl modules on my machine October 8, 2004, 4:04 pm
DBD:Excel on unix machine March 9, 2006, 11:18 am
installing www::mechanize on a windows98 machine November 13, 2005, 8:31 pm
Namespace for Z-machine parse/translate module July 29, 2004, 10:02 am
GD incorrectly renders Arabic on Win32 machine March 6, 2005, 9:28 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap