if iam using Net::SSH::Perl in Windows (Active State Perl)
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new('somehost',debug=>1);
$ssh->login('user', 'passwd');
my($stdout, $stderr, $exit) = $ssh->cmd($cmd);
indamaaaf31786: Reading configuration data /.ssh/config
indamaaaf31786: Reading configuration data /etc/ssh_config
indamaaaf31786: Connecting to host, port 22.
indamaaaf31786: Remote protocol version 2.0, remote software version OpenSSH_3.7.1p2-pwexp26
indamaaaf31786: Net::SSH::Perl Version 1.29, protocol version 2.0.
indamaaaf31786: No compat match: OpenSSH_3.7.1p2-pwexp26.
Can't set socket non-blocking: at
E:/perl/site/lib/Net/SSH/Perl.pm line 212, <GEN0> line 1.