On Sat, Apr 20, 2002 at 04:58:22PM +0530, Mayank Ahuja wrote: > > In one of my applications, I get machine name as input from the user. > What my application needs to do is to remote login on this machine and > start a daemon. > The scripts for running the daemon are ready, but how can i login to a > remote machine using PERL. > > Summary: Is there a PERL equivalent of rsh or remsh or rlogin on UNIX?
Yepp: Net::SSH Net::SSH::Perl Net::Telnet All available on the CPAN. To do it yourself, you could use the 'Expect' module to control whatever remote access software you use (telnet, rsh, ssh). -- If we fail, we will lose the war. Michael Lamertz | +49 221 445420 / +49 171 6900 310 Nordstr. 49 | [EMAIL PROTECTED] 50733 Cologne | http://www.lamertz.net Germany | http://www.perl-ronin.de -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]