I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-23 06:36:33.0548-08 by basileus82
Windows 7 and Net-SSH2
Hi all, is it possibile net-ssh2 module works on Windows XP and not on Seven??? The error that I get is "Unable to execute command or shell on remote system: Failed to Execute process." On XP it works!!!
use Net::SSH2; my $ssh2 = Net::SSH2->new(); $ssh2->connect('localhost') or die "Unable to connect Host $@ \n"; #this works for passwords $ssh2->auth_password('davide','261082') or die "Unable to login $@ \n"; my $chan = $ssh2->channel(); $chan->blocking(0); $chan->exec('dir'); while (<$chan>){ print }
Direct Responses: 13213 | Write a response