Unknown channel 0

Tom Deseyn tom.deseyn at gmail.com
Mon Mar 9 23:15:13 WST 2009


Hi Matt,

The Eclipse RSE (remote system explorer, http://www.eclipse.org/dsdp/)
uses a Java implementation of SSH2: http://www.jcraft.com/jsch/.

Kind Regards,

Tom


On Mon, Mar 9, 2009 at 2:37 PM, Matt Johnston <matt at ucc.asn.au> wrote:
> Hi,
>
> Do you know which SSH implementation Eclipse is using? I'll
> take a look at what's going on. I wonder if perhaps it's
> trying to use a channel that failed to open (or Dropbear's
> sending a bad failure response).
>
> Cheers,
> Matt
>
> On Mon, Mar 09, 2009 at 01:47:46PM +0100, Tom Deseyn wrote:
>> Hello.
>>
>> I am trying to use the eclipse C/C++ Remote Debug facilities.
>> Eclipse creates an ssh connection to the target to start gdbserver.
>> Sometimes things fail, resulting in the output:
>> authpriv.info dropbear[3322]: exit after auth (root): Unknown channel 0
>>
>> Martin Oberhuber (who is working on the Eclipse-side) suggested I was
>> missing an SFTP server (see
>> http://www.eclipse.org/newsportal/article.php?id=626&group=eclipse.dsdp.tm#626).
>> In my first attempt to use openssh I got an error, because I did not
>> add the sftp, which looked like this:
>> auth.info sshd[2150]: subsystem request for sftp
>> auth.info sshd[2150]: subsystem request for sftp failed, subsystem not found
>>
>> (note that, for my debugging purposes I don't need sftp, it is a
>> different part of eclips trying to do the sftp)
>>
>> I guess openssh and dropbear are complaining about the same thing?
>>
>> The openssh-implementation however doesn't stop working at this point.
>> It complains about the sftp-server, but Eclipse is still able to
>> launch the gdbserver.
>> It would be desirable if dropbear had the same behaviour.
>>
>> Kind Regards,
>>
>> Tom
>>
>
>



More information about the Dropbear mailing list