in reply to Bad packet length 737686377 at /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/Packet.pm line 175
#!/usr/bin/perl use strict; use warnings; use Net::SSH::Perl; use Net::SSH::Perl::Constants qw(MAX_PACKET_SIZE); my $host = 'host'; my $user = 'user'; my $pass = 'pass'; my $cmd = 'perldocs Net::SSH::Perl::Constants'; my $ssh = Net::SSH::Perl->new( $host, debug => 1, protocol => 2 ); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd($cmd); print $stdout, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bad packet length 737686377 at /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/Packet.pm line 175
by Anonymous Monk on Jul 19, 2012 at 19:19 UTC |