hardy004 has asked for the wisdom of the Perl Monks concerning the following question:
I have been trying to figure out, how to use SSH capability on Windows (Active Perl) domain.
In Cygwin domain, i.e. using Cygwin Perl, I can do SSH using Net::SSH::Expect, but I don’t have any information/direction on how to get SSH capability when using active perl.
One of the package that i found was Net::SSH::W32Perl & was wondering whether I can use W32Perl in active perl to get the same sort of features on windows.
http://search.cpan.org/~scotts/Net-SSH-W32Perl-0.05/lib/Net/SSH/W32Perl.pm
Your response is much appreciated.
Re: Using SSH capability on Windows
by syphilis (Archbishop) on Jul 24, 2013 at 01:43 UTC
|
Hi,
Use Net::SSH2. It uses the libssh2 library and can be installed on ActivePerl with:
ppm install http://www.sisyphusion.tk/ppm/Net-SSH.ppd --force
You also then have the option of using Net::SSH2 via the pure-perl module Net::SSH::Any. If you don't have dmake or nmake you can also install Net::SSH::Any via ppm:
ppm install http://www.sisyphusion.tk/ppm/Net-SSH-Any.ppd --force
Update: Corrected the above 2 'ppm install' commands.
I haven't used Net-SSH-Any, but I suspect its SSH interface might be a little more user-friendly than Net::SSH2.
Cheers, Rob | [reply] [Watch: Dir/Any] [d/l] [select] |
|