[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-vcm-dev] [Patch] Allow sshd to return SSH_MSG_DEBUG
|
Hi,
Attached should be a patch for the org.eclipse.vcm.core.cvs.ssh plugin
that allows the sshd server to return an SSH_MSG_DEBUG during the course of
normal operations. This fixes the issues I have had when trying to work with
an F-Secure ssh daemon - I would get the following message:
unexpected packet type: 36
This was caused because the server would return a debug message of 'Server
does not permit empty password login.'
The patch checks for the presence of an SSH_MSG_DEBUG packet within the
stream from the server and skips past it until it sees a packet that isn't
SSH_MSG_DEBUG. I guess the debug messages could be logged but I haven't
implemented this (I wasn't quite sure about how to obtain an instance of
ILog).
The patch has been tested against both F-Secure 2.1.0 daemon and OpenSSH
3.0.2p1.
Regards,
Tom
Tom Palmer
Web Systems Developer
WorldCom
332 Science Park, Cambridge, CB4 0BZ, UK
Tel: +44 (0)1223 250246
Attachment:
msg_debug.patch
Description: Binary data