Net::SSH::W32Perl - MSWin32 compatibility layer for Net::SSH::Perl
use Net::SSH::W32Perl; my $host = 'foo.bar.com'; my $ssh = new Net::SSH::W32Perl($host, [options]); $ssh->login('user', 'password'); my ($out, $err, $exit) = $ssh->cmd('cat', 'Hello Net::SSH::W32Perl User!');
This module provides limited Net::SSH::Perl functionality under MSWin32 (ActivePerl). See Net::SSH::Perl for a functional description.
When used on non-MSWin32 systems, Net::SSH::W32Perl reverts to traditional Net::SSH::Perl functionality.
SSH2 is the default protocol under MSWin32. Specifying a protocol other than SSH2 will cause SSH2 to die() - see below.
SSH2 is the only supported protocol due to Net::SSH::Perl's reliance on Math::GMP.
The shell() interface is not supported due to MSWin32's lack of support for select() on non-socket filehandles.
shell()
select()
The privileged option is not supported - I hope to fix this in a future release.
Anything else that doesn't work :)
Integrate the Net::SSH::Perl tests, fix privileged, etc...
privileged
Scott Scecina, <scotts@inmind.com>
Except where otherwise noted, Net::SSH::W32Perl is Copyright 2001 Scott Scecina. All rights reserved. Net::SSH::W32Perl is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
Code taken from Net::SSH::Perl is Copyright 2001 Benjamin Trott. Please see Net::SSH::Perl for more information.
Net::SSH::Perl
To install Net::SSH::W32Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SSH::W32Perl
CPAN shell
perl -MCPAN -e shell install Net::SSH::W32Perl
For more information on module installation, please visit the detailed CPAN module installation guide.