Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But the result comes out is : Can't map service name 'ssh' to port number at C:\buffer\r.pl line 5 What's wrong with it ?? Thxuse Net::SSH::Perl; $host="192.20.15.3"; $user="s00ben"; $pass="*password"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd($cmd);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: net::ssh::perl question
by gaal (Parson) on Jan 10, 2005 at 07:31 UTC | |
by Anonymous Monk on Jan 10, 2005 at 13:47 UTC |