Net-SFTP-Foreign - Re: 64-bit code won't compile and can't connect to sftp server

Posted on Sun Jul 1 12:57:43 2007 by salva in response to 5593 (See the whole thread of 16)
Re: 64-bit code won't compile and can't connect to sftp server
Hi James,

First, to report bugs on Net::SFTP::Foreign it's better to send an email directly to me (the author) or use the CPAN bug tracking system. Also, PerlMonks is a better place to get help on any Perl topic.

Regarding your problems, which perl version are you using? can you send me the output from the "perl -V" command so I can reproduce it myself?

And from the connection failing problem, try passing "-v" inside the "more" optional arg:

my $sftp = Net::SFTP::Foreign->new(host => $host, user => $user, port => $port, more => [qw(-v -i /home/me/.ssh/priv_key_filename)]);

You will see why the SSH command is failing.

Cheers,

Salva
Direct Responses: 5602 | Write a response