Open briandfoy opened 1 year ago
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
On 09/02/2015 01:17 AM, Steffen Schwigon via RT wrote:
<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 ticket was imported from rt.cpan.org 106718
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: 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."