Subject: | JUNOS::Access::ssh compression flag is incorrect |
Net::SSH::Perl requires a true or false value for the "compression" flag
(see
http://search.cpan.org/~turnstep/Net-SSH-Perl-1.34/lib/Net/SSH/Perl.pm),
not "yes or no", so JUNOS::Access::ssh is always enabling compression.
The attached patch should fix this.
Subject: | junos-ssh.diff |
--- old/JUNOS/Access/ssh.pm 2003-03-02 03:12:10.000000000 -0800
+++ new/JUNOS/Access/ssh.pm 2010-11-15 10:14:36.000000000 -0800
@@ -66,7 +66,7 @@
port => $rport || 22,
interactive => $self->{'ssh-interactive'},
compression => (defined $self->{'ssh-compress'} &&
- !$self->{'ssh-compress'}) ? 'no' : 'yes',
+ !$self->{'ssh-compress'}) ? 0 : 1,
options => [ ForwardX11 => 'no' ]) || return;