NAME
Net::SSH::W32Perl - MSWin32 compatibility layer for Net::SSH::Perl
SYNOPSIS
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!');
DESCRIPTION
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.
LIMITATIONS
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 forselect()
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 :)
TO DO
Integrate the Net::SSH::Perl tests, fix privileged
, etc...
AUTHOR & COPYRIGHT
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.