Skip Menu |
 

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

Report information
The Basics
Id: 6256
Status: resolved
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: Daniel.Cid [...] sourcefire.com
Cc:
AdminCc:

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



Subject: Problem with NEt::SSH::PErl
Download (untitled) / with headers
text/plain 401b
We are having some problems with the NEt::SSH::Perl while trying to access a netscreen box. We are successfully using NET:SSH:PERL to access our PIX, cisco routers, linux, etc. However, with the Netscreen we receive this error: toodles-mc1000.sfeng.sourcefire.com: Entering interactive session. toodles-mc1000.sfeng.sourcefire.com: Warning: ignoring packet of type 15 We are using SSH v1 with DES..
RT is used for reporting bugs I don't see how that shows a bug
Date: Wed, 23 Jun 2004 04:32:11 -0500 (CDT)
From: Dave Rolsky <autarch [...] urth.org>
To: Guest via RT <bug-Net-SSH-Perl [...] rt.cpan.org>
Subject: Re: [cpan #6256] Problem with NEt::SSH::PErl
RT-Send-Cc:
Download (untitled) / with headers
text/plain 420b
On Wed, 23 Jun 2004, Guest via RT wrote: Show quoted text
> > This message about Net-SSH-Perl was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=6256 > > > RT is used for reporting bugs > I don't see how that shows a bug
What? /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
Download (untitled) / with headers
text/plain 161b
SSH1 packet type 15 is SSH_SMSG_FAILURE (see e.g. http://www.snailbook.com/docs/protocol-1.5.txt). Can you provide a mimimal script that reproduces the problem?
Download (untitled) / with headers
text/plain 1.5k
On Fri Feb 04 15:53:04 2005, DBROBINS wrote: Show quoted text
> SSH1 packet type 15 is SSH_SMSG_FAILURE (see e.g. > http://www.snailbook.com/docs/protocol-1.5.txt). Can you provide a > mimimal script that reproduces the problem?
I have the same problem.. illuminati: Reading configuration data /root/.ssh/config illuminati: Reading configuration data /etc/ssh_config illuminati: Allocated local port 1022. illuminati: Connecting to 172.16.128.1, port 22. illuminati: Remote protocol version 1.5, remote software version SSH Protocol Compatible Server SCS 2.0 illuminati: Net::SSH::Perl Version 1.29, protocol version 1.5. illuminati: No compat match: SSH Protocol Compatible Server SCS 2.0. illuminati: Connection established. illuminati: Waiting for server public key. illuminati: Received server public key (768 bits) and host key (1024 bits). illuminati: Host '172.16.128.1' is known and matches the host key. illuminati: Encryption type: DES3 illuminati: Sent encrypted session key. illuminati: Received encryption confirmation. illuminati: RSA authentication failed: Can't load public key. illuminati: Trying password authentication. illuminati: Sending command: set console page 0 illuminati: Entering interactive session. illuminati: Warning: ignoring packet of type 15 script... use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new($ip, debug=>1); $ssh->login($username, $ukey); $ssh->cmd('set console page 0'); my($stdout, $stderr, $exit) = $ssh->cmd($cmd); print "$stdout, $stderr, $exit\n"; $ssh->cmd('set console page 20'); hangs never prints anything.
Download (untitled) / with headers
text/plain 1.7k
On Thu May 04 17:38:37 2006, guest wrote: Show quoted text
> On Fri Feb 04 15:53:04 2005, DBROBINS wrote:
> > SSH1 packet type 15 is SSH_SMSG_FAILURE (see e.g. > > http://www.snailbook.com/docs/protocol-1.5.txt). Can you provide a > > mimimal script that reproduces the problem?
> > I have the same problem.. > > illuminati: Reading configuration data /root/.ssh/config > illuminati: Reading configuration data /etc/ssh_config > illuminati: Allocated local port 1022. > illuminati: Connecting to 172.16.128.1, port 22. > illuminati: Remote protocol version 1.5, remote software version SSH > Protocol Compatible Server SCS 2.0 > illuminati: Net::SSH::Perl Version 1.29, protocol version 1.5. > illuminati: No compat match: SSH Protocol Compatible Server SCS 2.0. > illuminati: Connection established. > illuminati: Waiting for server public key. > illuminati: Received server public key (768 bits) and host key (1024
bits). Show quoted text
> illuminati: Host '172.16.128.1' is known and matches the host key. > illuminati: Encryption type: DES3 > illuminati: Sent encrypted session key. > illuminati: Received encryption confirmation. > illuminati: RSA authentication failed: Can't load public key. > illuminati: Trying password authentication. > illuminati: Sending command: set console page 0 > illuminati: Entering interactive session. > illuminati: Warning: ignoring packet of type 15 > > script... > > use Net::SSH::Perl; > my $ssh = Net::SSH::Perl->new($ip, debug=>1); > $ssh->login($username, $ukey); > $ssh->cmd('set console page 0'); > my($stdout, $stderr, $exit) = $ssh->cmd($cmd); > print "$stdout, $stderr, $exit\n"; > $ssh->cmd('set console page 20'); > > > hangs never prints anything.
Could it be a prompt problem all netscreens have wierd prompts. fnsbe1vinin(M)-> is the sample prompt from above.
From: Andres Barcenas <andre_barcenas [...] hotmail.com>
Download (untitled) / with headers
text/plain 3.1k
I am getting something similar, same code though: sub sshConnect { my $ssh = Net::SSH::Perl->new($fwip, debug=>1); $ssh->login($user, $pass); $ssh->cmd("set console page0"); my($stdout, $stderr, $exit) = $ssh->cmd($cmd); print "$stdout, $stderr, $exit\n"; $ssh->cmd('set console page 20'); m4st0r-ws: Remote protocol version 2.0, remote software version NetScreen m4st0r-ws: Net::SSH::Perl Version 1.30, protocol version 2.0. .4st0r-ws: No compat match: NetScreen m4st0r-ws: Connection established. m4st0r-ws: Sent key-exchange init (KEXINIT), wait response. m4st0r-ws: Algorithms, c->s: 3des-cbc hmac-sha1 none m4st0r-ws: Algorithms, s->c: 3des-cbc hmac-sha1 none m4st0r-ws: Entering Diffie-Hellman Group 1 key exchange. m4st0r-ws: Sent DH public key, waiting for reply. m4st0r-ws: Received host key, type 'ssh-dss'. m4st0r-ws: Host '$ip' is known and matches the host key. m4st0r-ws: Computing shared secret key. m4st0r-ws: Verifying server signature. m4st0r-ws: Waiting for NEWKEYS message. m4st0r-ws: Enabling incoming encryption/MAC/compression. m4st0r-ws: Send NEWKEYS, enable outgoing encryption/MAC/compression. m4st0r-ws: Sending request for user-authentication service. Connection closed by remote host. at /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/AuthMgr.pm line 43 Any ideas? On Thu May 04 17:40:43 2006, guest wrote: Show quoted text
> On Thu May 04 17:38:37 2006, guest wrote:
> > On Fri Feb 04 15:53:04 2005, DBROBINS wrote:
> > > SSH1 packet type 15 is SSH_SMSG_FAILURE (see e.g. > > > http://www.snailbook.com/docs/protocol-1.5.txt). Can you provide a > > > mimimal script that reproduces the problem?
> > > > I have the same problem.. > > > > illuminati: Reading configuration data /root/.ssh/config > > illuminati: Reading configuration data /etc/ssh_config > > illuminati: Allocated local port 1022. > > illuminati: Connecting to 172.16.128.1, port 22. > > illuminati: Remote protocol version 1.5, remote software version SSH > > Protocol Compatible Server SCS 2.0 > > illuminati: Net::SSH::Perl Version 1.29, protocol version 1.5. > > illuminati: No compat match: SSH Protocol Compatible Server SCS 2.0. > > illuminati: Connection established. > > illuminati: Waiting for server public key. > > illuminati: Received server public key (768 bits) and host key (1024
> bits).
> > illuminati: Host '172.16.128.1' is known and matches the host key. > > illuminati: Encryption type: DES3 > > illuminati: Sent encrypted session key. > > illuminati: Received encryption confirmation. > > illuminati: RSA authentication failed: Can't load public key. > > illuminati: Trying password authentication. > > illuminati: Sending command: set console page 0 > > illuminati: Entering interactive session. > > illuminati: Warning: ignoring packet of type 15 > > > > script... > > > > use Net::SSH::Perl; > > my $ssh = Net::SSH::Perl->new($ip, debug=>1); > > $ssh->login($username, $ukey); > > $ssh->cmd('set console page 0'); > > my($stdout, $stderr, $exit) = $ssh->cmd($cmd); > > print "$stdout, $stderr, $exit\n"; > > $ssh->cmd('set console page 20'); > > > > > > hangs never prints anything.
> > Could it be a prompt problem all netscreens have wierd prompts. > > fnsbe1vinin(M)-> > > is the sample prompt from above.
Download (untitled) / with headers
text/plain 106b
I don't have a Netscreen system to test on so I can't help unless a programmer there can diagnose further.


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.