|The stupid question is the question not asked|
Re: Net-SSH-W32Perl hanging (Solved)by cmv (Chaplain)
|on Apr 16, 2009 at 20:39 UTC||Need Help??|
I spent a few days tracking this down (I really like Net::SSH::Perl and friends) and believe I have a solution.
Hope it helps.
Short answerA bug was introduced in Net::SSH::Perl (in version 1.34 and maybe earlier), that breaks Net::SSH::W32Perl, and gives you the symptom above. I will be submitting a bug report.
More DetailsThe bug appears in the file:
In order to fix the problem, I modified these lines:
To look like this (what the original code was):
This fixes the problem for me.
Even More Details
If you are using Net::SSH::W32Perl to access the Net::SSH::Perl modules from your windows PC, the original Net::SSH::Perl code would correctly set
The new version 1.34 of Net::SSH::Perl will incorrectly set
which causes Net::SSH::W32Perl all sorts of grief, and your remote commands end up hanging.
Some folks have asked for a recipie for installing Net::SSH::Perl & friends on a PC. Here is how I do it...