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

People
Owner: Nobody in particular
Requestors: d.clark [...] cqu.edu.au
Cc:
AdminCc:

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



Subject: Problem using hostbasedauthentication protocol 2
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/RSA1.pm line 94, <FH> line 4. Then my script fails with "Execution of command on host 138.77.36.244 failed: Permission Denied". I can successfully login to 138.77.36.244 using ssh client binary program without password. Thanks. Cheers, Damien.

Message body is not shown because it is too large.

[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/RSA1.pm 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
[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!