in reply to Trouble installing Net::SFTP under ActiveState

install Convert-PEM, http://kobesearch.cpan.org/dist/Convert-PEM shows which repositories have it
  • Comment on Re: Trouble installing Net::SFTP under ActiveState

Replies are listed 'Best First'.
Re^2: Trouble installing Net::SFTP under ActiveState
by Photius (Sexton) on Mar 12, 2009 at 19:44 UTC
    Thanks. I added repository http://trouchelle.com and then I was able to install Net::SFTP. However, when I try to create a connection:
    use Net::SFTP; my $sftp = Net::SFTP->new($targetURL, [user => $targetUser, password = +> $targetPwd]);
    I get:
    The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Per +l.pm line 110.
      That has been fixed since version 1.20 2001.07.11. Upgrade to Net-SSH-Perl-1.34 01 Feb 2009
        I am already using Net-SSH-Perl version 1.30 which gave the error message.