Skip Menu |

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

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

Owner: Nobody in particular
Requestors: d.clark [...]

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


Subject: Problem using hostbasedauthentication protocol 2
Download (untitled) / with headers
text/plain 721b
Hi, Before I start, thanks for a great module. I have found it very useful. I am using perl-5.6.1 on Red Hat 7.2, with RPM version of perl, and I am using Net::SSH::Perl 1.23. I have attached an Autobundle from cpan of what modules are installed. The problem is experience is the following error message when trying to use hostbasedauthentication with protocol v2. Argument "ssh-rsa" isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Perl/Key/ line 94, <FH> line 4. Then my script fails with "Execution of command on host failed: Permission Denied". I can successfully login to using ssh client binary program without password. Thanks. Cheers, Damien.

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 677b
[guest - Tue Apr 16 22:35:03 2002]: Show quoted text
> Argument "ssh-rsa" isn't numeric in numeric eq (==) at > /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Perl/Key/ line 94,
<FH> Show quoted text
> line 4.
I think I will need to see your known_hosts file; looking at that line of code, it seems like it would come from the RSA1 module being used when really the RSA2 module should be used, because if what I am thinking is correct, your known_hosts file is an SSH-2 format known_hosts file (with the key type followed by a base64- encoded public key), rather than an SSH-1 RSA format known_hosts file (with bits, e, and n, separated by spaces). It would help to see the script you are trying to run.
From: bronson
Download (untitled) / with headers
text/plain 144b
[BTROTT - Sat Apr 20 20:26:16 2002]: Yup, that fixes the warning I was seeing. my $ssh = Net::SSH::Perl->new($host, protocol=>'2,1'); Thanks!

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

Please report any issues with to