in reply to Net::SSH::W32Perl rev 0.05, cmd hangs. Does Net::SSH::W32Perl 0.06 exist?

There is also a Uwinnipeg 5.8 ppm for Net::SSH2. It has no additional dependencies apart from Term::ReadKey. However, some of its constructs don't work on Win32 (though there's usually a way of working around those failing constructs). YMMV - but it could be worth a try.

Cheers,
Rob
  • Comment on Re: Net::SSH::W32Perl rev 0.05, cmd hangs. Does Net::SSH::W32Perl 0.06 exist?

Replies are listed 'Best First'.
Re^2: Net::SSH::W32Perl rev 0.05, cmd hangs. Does Net::SSH::W32Perl 0.06 exist?
by Anonymous Monk on Jul 26, 2008 at 19:07 UTC
    I did notice the Net::SSH2 option in the UWinnipeg PPMs; I suppose I could go that way, or could go with plink-style command line tool and send it a bunch of system calls.
    Another strange detail is that other people seem to have success with ssh->cmd() if they redirect its stdout to a file. If I could get that far, I could probably wing the rest of it (through a gross overreliance on downloading the redirected stdout file). I can't even do THAT - even a cmd() with redirected stdout still hangs.