Thanks dandrown!
I had exactly the same problem connecting by ssh to a CISCO router, and making those changes in SSH2.pm completely solved the problem!!!
Thank you very very much.
CPAN::Forum
Net-SSH-Perl - Re: Channel open failure: 1: reason 4: when connecting to Cisco router