http://www.perlmonks.org?node_id=968728


in reply to Re^2: SFTP login problems
in thread SFTP login problems

Whoa, you are using a version of Net::SFTP::Foreign on the 0.xx series that I stopped maintaining six years ago!!!

Just install a recent version of the module.

Replies are listed 'Best First'.
Re^4: SFTP login problems
by chipchidster (Initiate) on May 03, 2012 at 13:37 UTC

    Dammit! looks like i must have a rogue module somewhere then. I've just done the following:

    sudo perl -MCPAN -e 'install Net::SFTP::Foreign' [sudo] password for purcedw1: Reading '/root/.cpan/Metadata' Database was generated on Wed, 02 May 2012 04:58:03 GMT Fetching with LWP: ftp://ftp.mirror.anlx.net/CPAN/authors/01mailrc.txt.gz Reading '/root/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE Fetching with LWP: ftp://ftp.mirror.anlx.net/CPAN/modules/02packages.details.txt.gz Reading '/root/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Thu, 03 May 2012 11:15:03 GMT ...................................................................... +......DONE Fetching with LWP: ftp://ftp.mirror.anlx.net/CPAN/modules/03modlist.data.gz Reading '/root/.cpan/sources/modules/03modlist.data.gz' ...................................................................... +......DONE Writing /root/.cpan/Metadata Net::SFTP::Foreign is up to date (1.71).

    Thanks for the prompt reply - i shall confirm in due course :)