Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 78601
Status: new
Priority: 0/
Queue: Net-SSH-Perl

Owner: Nobody in particular
Requestors: advax [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: zlib mismatch in Kex with SSH 2
Date: Thu, 26 Jul 2012 17:56:30 -0700 (PDT)
To: bug-Net-SSH-Perl [...]
From: Andrew Daviel <advax [...]>
If I use Net::SSH::Perl to connect to an ssh server on CENTOS5, or on a Juniper appliance, and use SSH 2 with compression enabled (which is the default in Juniper's Perl API), I get a negotiation failure in kex for zlib comprssion example: use Net::SSH::Perl ; my %param ; $param{debug} = 1 ; $param{compression} = 1 ; $param{protocol} = '2' ; my $ssh = Net::SSH::Perl->new("",%param); $ssh->login("foo", "bar"); ($out, $err, $exit) = $ssh->cmd("uptime"); print "$out" ; client: Connecting to, port 22. client: Remote protocol version 1.99, remote software version OpenSSH_4.4 client: Net::SSH::Perl Version 1.34, protocol version 2.0. client: No compat match: OpenSSH_4.4. client: Connection established. client: Sent key-exchange init (KEXINIT), wait response. No matching comp found: client zlib server none, at /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/ line 92 regards -- Andrew Daviel, TRIUMF, Canada Tel. +1 (604) 222-7376 (Pacific Time) Network Security Manager

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to