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> |
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."