Skip Menu |

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

Report information
The Basics
Id: 13458
Status: rejected
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: nikgregory [...] yahoo.com
Cc:
AdminCc:

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



Subject: ssh-rsa isn't numeric ... error when using protocol 1
I am investigating the Net::SSH::Perl module, and noticed this error message Argument "ssh-rsa" isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8/Net/SSH/Perl/Key/RSA1.pm line 94, <FH> line 45 when running the sample script cmd.pl in /eg. $ ./cmd.pl Enter a host name to connect to: [nik3] Enter the port number of the remote sshd: [ssh] Choose a cipher from the list: [2] DES [3] DES3 [5] RC4 [6] Blowfish Enter a number: [1] nik3: Reading configuration data /home/nik/.ssh/config nik3: Reading configuration data /etc/ssh_config nik3: Connecting to nik3, port 22. nik3: Remote protocol version 1.99, remote software version OpenSSH_3.9p1 nik3: Net::SSH::Perl Version 1.28, protocol version 1.5. nik3: No compat match: OpenSSH_3.9p1. nik3: Connection established. Enter your username on that host: [nik] nik And your password: Enter a command to execute: [ls -l] pwd nik3: Waiting for server public key. nik3: Received server public key (768 bits) and host key (1024 bits). Argument "ssh-rsa" isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8/Net/SSH/Perl/Key/RSA1.pm line 94, <FH> line 45. nik3: Host 'nik3' is known and matches the host key. nik3: Encryption type: DES3 nik3: Sent encrypted session key. nik3: Received encryption confirmation. nik3: Trying RSA authentication with key 'Nik@NGREGORY' nik3: Server refused our key. nik3: Server refused our key. nik3: Doing challenge response authentication. nik3: No challenge presented. nik3: Trying password authentication. nik3: Sending command: pwd nik3: Entering interactive session. /home/nik as near as I can tell, this is because the line in RSA1.pm which reads $keyA->{rsa}{bits} == $keyB->{rsa}{bits} && should read $keyA->{rsa}{bits} eq $keyB->{rsa}{bits} && Regards, Nik