in reply to Re^6: threads, forks and SSH
in thread threads, forks and SSH

For MS Windows, if you install Strawberry Perl, it will automatically also install Net::SSH2 for you.

I tried the example in the synopsis. Worked fine for me on Windows 7 Pro.

Replies are listed 'Best First'.
Re^8: threads, forks and SSH
by ralph2014 (Initiate) on Dec 16, 2015 at 23:33 UTC
    hi unfortunately I cant change the install of the current version of active perl on the server, (windows 2003) im stunned this is so much hassle, its more difficult to install these modules than writing a program!! perl is also supposed to be cross platform, many of the modules wont run in windows, thats not cross platform! the modules that install are using PPM

      Many Perl modules require 3rd party libraries that are not written in Perl. This is also true of other languages like Python. These modules require special handling.

      (Of course, any pure Perl module will not require special handling.)

      Because SSH/SSH2 is such an important tool, I would expect Activestate to have at least one SSH module in its PPM archive.

      Have you searched Activestate's PPM archive ?

      Activestate does provide some advice on installing modules not already available in PPM packages (PPM is Activestate's proprietary packaging system): http://www.activestate.com/blog/2010/10/how-install-cpan-modules-activeperl

      Just FYI, Strawberry Perl took a different approach to installing modules: It includes all the tools needed to build any CPAN module, plus most other modules.

        thanks for the input Yeh PPM is great, no problems at all. I have installed NET::SSH but i have my doubts about it looking at its cpan page. it appears that it isnt maintained. With SSH now pretty standard everywhere I feel that in 2015 perl is letting itself down here, its SSH support terrible! is it time to move to something newer?