Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, I am trying to install Net::SSH2 module to connect secure ftp connection requirement. But it's failing for me. Can you please suggest me modules which supports for this connection.
Also i am using perl version (v5.16.3) and when i try to install ppm install Net::SSH2 it showing no packages available but when we go and search in cpan it's there. how we can install the same module using ppm. i tried with cpan also it's also failed.

Replies are listed 'Best First'.
Re: Net::SSH2 install problem
by marto (Cardinal) on Sep 21, 2013 at 10:45 UTC

    "when i try to install ppm install Net::SSH2 it showing no packages available but when we go and search in cpan it's there."

    PPM is ActiveStates packaging system, they don't have a build of everything on cpan. You could add more repositories via PPM::Repositories then search and install. Strawberry Perl has Net::SSH2 (and many other useful modules/tools) as standard.

    "i tried with cpan also it's also failed."

    You've been posting here for several years, you should know by now that this isn't a productive way to get help. If something doesn't work, show what us what happened. Otherwise we're left guessing or providing truisms. Chances are you don't have a suitable build environment. How do I post a question effectively?

    "But it's failing for me. Can you please suggest me modules which supports for this connection."

    If Net::SSH2 doesn't do what you want take a look at Net::SFTP::Foreign and Net::SFTP.

Re: Net::SSH2 install problem
by syphilis (Archbishop) on Sep 22, 2013 at 03:25 UTC
    ppm install http://www.sisyphusion.tk/ppm/Net-SSH2.ppd --force
    Cheers,
    Rob
Re: Net::SSH2 install problem ( But it's failing for me)
by Anonymous Monk on Sep 21, 2013 at 10:48 UTC