Folks-
This is a quick hack that seems to be working for me.
Suggestions on a better one would be welcome!
Thanks
-Craig
Editing .../Net/SSH/Perl/Packet.pm:
217 sub read_expect {
218 my $class = shift;
219 my($ssh, $type) = @_;
220 my $pack = $class->read($ssh);
221 while($pack->type == 80) { # CMV Hack start vvvv
222 print STDERR "IGNORING GLOBAL MESSAGE...";
223 $pack = $class->read($ssh);
224 print STDERR " NEXT MESSAGE IS: ", $pack->type, "\n";
225 } # CMV Hack end ^^^^
226 if ($pack->type != $type) {
227 $ssh->fatal_disconnect(sprintf
228 "Protocol error: expected packet type %d, got %d",
229 $type, $pack->type);
230 }
231 $pack;
232 }
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.