If one is in a Unix shop, this is very straightforward.

Telnet would not be practical, that is for interactive connections.

Something like the following could be called from the crawler. There are
some security issues for you to think through here. 



!#/bin/perl

$SCRIPT = "/home/joesmoe/somescript";

open(SYS,"$DIR/systems");
chomp $_;
$HOST = $_;
while(<SYS>){
   system("rsh $HOST $SCRIPT");
   } 

Returns can be added on, but this is the basic idea.
Caveat here is that rsh, or something similiar has to run,
and you have to have a trusting login to use.

SSH might be used.

Without this, one has more (maybe a lot more) work to do.


. Greg

-----Original Message-----
From: Derrick (Thrawn01) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 3:52 PM
To: Perl Beginners
Subject: New Project, Design Thoughts appreciated


I've been the task of designing a remote maintenance system, for several
 maybe hundreds ) of computers across a WAN.
It would preferably be a web application so multiple users can operate
the
maintnce on several systems simultaneously.

The problem I have is with running commands on the remote system.
Hoping to pool from the wealth of experience displayed on this List.
Does anyone have a suggestion as to how I could easily, ( WITH OUT TONS
OF
CODING )
Run command line programs on a remote computer,  and get the output
returned
to the calling Web app?

Via Telnet of some kind?
RPC ? ( I looked at RPC, but it seams I'd have to program a server app,
with
a server running on each
        Remote computer, Would this be difficult? Would Telnet be
practical ? )

I'm a novice perl programmer, but I've done some web apps with sql.
using
DBI. Not any Server network type apps or
anything.


THANK's For any advice.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to