Net::SSH::W32Perl - MSWin32 compatibility layer for Net::SSH::Perl |
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 the Net::SSH::Perl manpage 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.
shell()
interface is not supported due to MSWin32's
lack of support for select()
on non-socket filehandles.
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...
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 the Net::SSH::Perl manpage for more information.
Net::SSH::W32Perl - MSWin32 compatibility layer for Net::SSH::Perl |