Subject: Re: dispatch_protocol_error: type 90 seq 4

Re: dispatch_protocol_error: type 90 seq 4

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 13 Mar 2010 22:07:04 +0100 (CET)

On Thu, 11 Mar 2010, Dave McCaldon wrote:

> I have a Windows client app using libssh2-1.2.3 that seems to be unable to
> connect to a remote server (OpenSSH 5.2) to do SFTP, it fails on the server
> side with:

And other tools have no problems using SFTP against this server?

> dispatch_protocol_error: type 90 seq 4

> [libssh2] 44.093943 Transport: Disconnect(7): Service not requested or
> authenticated(en)

> Does anyone have any more details on what this means? (configuration
> perhaps?)

That's the error message from the server so I figure more research into what
makes the server say so is required to better understand this.

> => libssh2_transport_write plain (24 bytes)
> 0000: 5A 00 00 00 07 73 65 73 73 69 6F 6E 00 00 00 00 : Z....session....
> 0010: 00 01 00 00 00 00 80 00 : ........

There's the type 90 I believe (0x5A).

> => libssh2_transport_read() plain (53 bytes)
> 0000: 01 00 00 00 07 00 00 00 26 53 65 72 76 69 63 65 : ........&Service
> 0010: 20 6E 6F 74 20 72 65 71 75 65 73 74 65 64 20 6F : not requested o
> 0020: 72 20 61 75 74 68 65 6E 74 69 63 61 74 65 64 00 : r authenticated.
> 0030: 00 00 02 65 6E : ...en

And that's the server denying the client to play.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-13