Skip Menu |
 

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

Report information
The Basics
Id: 106718
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: tanu.arya [...] aricent.com
Cc:
AdminCc:

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



CC: David Kesselring <david.kesselring [...] oracle.com>, Munish Dayal <munish.dayal [...] aricent.com>, Rajesh Dugar <rajesh.k.dugar [...] oracle.com>
Subject: Support of IPv6 in Net::SSH::Perl.pm
Date: Fri, 28 Aug 2015 21:07:34 +0000
To: "bug-Net-SSH-Perl [...] rt.cpan.org" <bug-Net-SSH-Perl [...] rt.cpan.org>
From: Tanu Arya <tanu.arya [...] aricent.com>
Download (untitled) / with headers
text/plain 1.4k
Hi, I have the RPM "perl-Net-SSH-Perl-1.37" installed on my Linux box. I am trying to use the Net::SSH::Perl.pm to SSH to the remote machine, which is configured on IPv6. The request fails with the error "ERROR: Net::SSH: Bad host name: <IPv6 IP of the remote machine> at /usr/local/share/perl5/Net/SFTP.pm line 61". In the Perl.pm code, I checked that it is using inet_aton() API in the "_connect()" subroutine. The API inet_aton does not work for IPv6. I could not find any higher version of this package with the IPv6 support. My query is that when is the IPv6 support expected in the Perl.pm module? OR Is there any alternate package? I am using the following versions of these packages. Net-SFTP-0.10.tar.gz Net-SSH-Perl-1.37.tar.gz Thanks and Regards, Tanu Arya "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
RT-Send-CC: sfandino [...] yahoo.com
Download (untitled) / with headers
text/plain 435b
I, for my part, do only co-maintain this module and do not have a clue about IPv6, sorry. But I just realized there is a talk on current YAPC::EU on Wednesday (today) about an alternative module Net::SSH::Any - http://act.yapc.eu/ye2015/talk/6315 - so I added the author to CC here. Or the original authors can chime in... Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
Subject: Re: [rt.cpan.org #106718] Support of IPv6 in Net::SSH::Perl.pm
Date: Sat, 5 Sep 2015 12:15:19 +0200
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: Salvador Fandiño <sfandino [...] yahoo.com>
Download (untitled) / with headers
text/plain 847b
On 09/02/2015 01:17 AM, Steffen Schwigon via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=106718 > > > I, for my part, do only co-maintain this module and do not have a clue about IPv6, sorry. > > But I just realized there is a talk on current YAPC::EU on Wednesday (today) about an alternative module Net::SSH::Any - http://act.yapc.eu/ye2015/talk/6315 - so I added the author to CC here. Or the original authors can chime in... > > Kind regards, > Steffen
Hi, IPv6 is supported in Net::OpenSSH and in the development version of Net::SSH2 (https://metacpan.org/pod/release/SALVA/Net-SSH2-0.54_01/lib/Net/SSH2.pm). Net::SSH::Any builds on top of these, so it may probably support IPv6 too. Steffen, regarding IPv6 support in Net::SSH::Perl, for Net::SSH2 it was only a matter of replacing IO::Socket::INET by IO::Socket::IP.


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.