Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Using SSH capability on Windows

by hardy004 (Novice)
on Jul 24, 2013 at 00:14 UTC ( [id://1045975]=perlquestion: print w/replies, xml ) Need Help??

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.

Replies are listed 'Best First'.
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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1045975]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-19 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found