Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] [Patch] Allow sshd to return SSH_MSG_DEBUG

Tom,

Thanks for your contribution. I have created bug 7599 in bugzilla which
contains the patch.

Michael Valenta



                                                                                                                                       
                      Tom Palmer                                                                                                       
                      <tomp@xxxxxxxxx>                To:      "'platform-vcm-dev@xxxxxxxxxxx'" <platform-vcm-dev@xxxxxxxxxxx>         
                      Sent by:                        cc:                                                                              
                      platform-vcm-dev-admin@         Subject: [platform-vcm-dev] [Patch] Allow sshd to return SSH_MSG_DEBUG           
                      eclipse.org                                                                                                      
                                                                                                                                       
                                                                                                                                       
                      15/01/2002 07:34 AM                                                                                              
                      Please respond to                                                                                                
                      platform-vcm-dev                                                                                                 
                                                                                                                                       
                                                                                                                                       




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









Back to the top