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

People
Owner: Nobody in particular
Requestors: advax [...] triumf.ca
Cc:
AdminCc:

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



From advax [...] triumf.ca Thu Jul 26 20: 56:49 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.121 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
content-type: TEXT/PLAIN; charset="utf-8"; format="flowed"
Message-ID: <Pine.LNX.4.64.1207261745090.24448 [...] andrew.triumf.ca>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-X-Sender: andrew [...] andrew.triumf.ca
X-Spam-Score: -6.121
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2BD5D240585 for <cpan-bug+Net-SSH-Perl [...] hipster.bestpractical.com>; Thu, 26 Jul 2012 20:56:49 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWz2FTs5Q-B7 for <cpan-bug+Net-SSH-Perl [...] hipster.bestpractical.com>; Thu, 26 Jul 2012 20:56:47 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D777F2404A4 for <bug-Net-SSH-Perl [...] rt.cpan.org>; Thu, 26 Jul 2012 20:56:46 -0400 (EDT)
Received: (qmail 31879 invoked by uid 103); 27 Jul 2012 00:56:45 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 27 Jul 2012 00:56:45 -0000
Received: from andrew.triumf.ca (HELO andrew.triumf.ca) (142.90.106.59) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 26 Jul 2012 17:56:42 -0700
Received: from andrew.triumf.ca (localhost [127.0.0.1]) by andrew.triumf.ca (8.12.11.20060308/8.12.11) with ESMTP id q6R0uUL3003164 for <bug-Net-SSH-Perl [...] rt.cpan.org>; Thu, 26 Jul 2012 17:56:31 -0700
Received: from localhost (andrew [...] localhost) by andrew.triumf.ca (8.12.11.20060308/8.12.11/Submit) with ESMTP id q6R0uUm0003160 for <bug-Net-SSH-Perl [...] rt.cpan.org>; Thu, 26 Jul 2012 17:56:30 -0700
Delivered-To: cpan-bug+Net-SSH-Perl [...] hipster.bestpractical.com
Subject: zlib mismatch in Kex with SSH 2
Return-Path: <advax [...] triumf.ca>
X-RT-Mail-Extension: net-ssh-perl
X-Original-To: cpan-bug+Net-SSH-Perl [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Thu, 26 Jul 2012 17:56:30 -0700 (PDT)
X-Spam-Level:
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: Andrew Daviel <advax [...] triumf.ca>
X-RT-Original-Encoding: US-ASCII
Content-Length: 1034
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("example.com",%param); $ssh->login("foo", "bar"); ($out, $err, $exit) = $ssh->cmd("uptime"); print "$out" ; client: Connecting to example.com, 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,zlib@openssh.com at /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/SSH2.pm 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.