http://www.perlmonks.org?node_id=1173505


in reply to Debugging Net::SSH Protocol Error
in thread Net::SSH Protocol Error

Are you sure that you have version 2.01 of Net::SSH::Perl installed? Line 222 of Net::SSH::Perl::Packet is not the one you indicated.... https://metacpan.org/source/SCHWIGON/Net-SSH-Perl-2.01/lib/Net/SSH/Perl/Packet.pm#L222

It looks like you have something between versions 1.25 and 1.42.