Re: [PBML] How to login from one system (A) into remote system (B) and do a ping to the third system (C) with Perl and CGI !
my $host = "perlhowto.com";
my $user = "user";
my $password = "password";
#-- set up a new connection
my $ssh = Net::SSH::Perl->new($host);
#-- execute the command
my($stdout, $stderr, $exit) = $ssh->cmd("ls -l /home/$user");
Posted through Grouply, the better way
to access your Yahoo Groups like this one.
[Non-text portions of this message have been removed]