Subject: | Errors handling packets |
When using the module to connect to a SSH server, it sends this message
and dies:
Protocol error: expected packet type 91, got 101
at /usr/lib/perl5/site_perl/5.10/Net/SSH/Perl/Packet.pm line 221
This same error appears when connecting with a Unix-based ssh client:
ssh -l user x.x.x.x
user@x.x.x.x's password:
dispatch_protocol_error: type 101 seq 10
But the connection eventually succeeds. If, with that same ssh client,
the option -q (quiet) is used the error is not shown and the connection
is established successfully.
This not happens with the module, it dies, without giving chance to
continue connecting.
The SSH server is AIX with OpenSSH 4.7p1 , the clients with which I've
got the error (but successfully connected) are: Cygwin (OpenSSH 5.1p1),
Linux Redhat (OpenSSH 3.9p1). I didn't get the error with PuTTY nor the
AIX ssh client.
The Module should implement a validation for this error (as the ssh
clients do) in order to eventually logon successfully.