Done,
Why do php's bindings lack a ssh2_trace ........

[libssh2] Transport: session_startup for socket 3
[libssh2] Transport: Sending Banner: SSH-2.0-libssh2_1.0.1-20081230
[libssh2] Transport: Received Banner: SSH-2.0-4.1.2 SSH Secure Shell  
Toolkit
[libssh2] Key Exchange: Sent KEX: diffie-hellman-group14-sha1,diffie- 
hellman-group-exchange-sha1,diffie-hellman-group1-sha1
[libssh2] Key Exchange: Sent HOSTKEY: ssh-rsa,ssh-dss
[libssh2] Key Exchange: Sent CRYPT_CS: aes256-cbc,rijndael-...@lysator.liu.se 
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour,cast128-cbc,3des-cbc,none
[libssh2] Key Exchange: Sent CRYPT_SC: aes256-cbc,rijndael-...@lysator.liu.se 
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour,cast128-cbc,3des-cbc,none
[libssh2] Key Exchange: Sent MAC_CS: hmac-sha1,hmac-sha1-96,hmac- 
md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd...@openssh.com,none
[libssh2] Key Exchange: Sent MAC_SC: hmac-sha1,hmac-sha1-96,hmac- 
md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd...@openssh.com,none
[libssh2] Key Exchange: Sent COMP_CS: none,zlib
[libssh2] Key Exchange: Sent COMP_SC: none,zlib
[libssh2] Key Exchange: Sent LANG_CS:
[libssh2] Key Exchange: Sent LANG_SC:
=> libssh2_packet_write plain (578 bytes)
=> libssh2_packet_write send() (592 bytes)
[libssh2] Transport: Looking for packet of type: 20
[libssh2] Transport: May block until packet of type 20 becomes available
=> libssh2_packet_read() raw (424 bytes)
=> libssh2_packet_read() plain (411 bytes)
[libssh2] Transport: Packet type 20 received, length=411
[libssh2] Transport: Looking for packet of type: 20
[libssh2] Key Exchange: Agreed on KEX method: diffie-hellman-group1-sha1
[libssh2] Key Exchange: Agreed on HOSTKEY method: ssh-dss
[libssh2] Key Exchange: Agreed on CRYPT_CS method: aes256-cbc
[libssh2] Key Exchange: Agreed on CRYPT_SC method: aes256-cbc
[libssh2] Key Exchange: Agreed on MAC_CS method: hmac-sha1
[libssh2] Key Exchange: Agreed on MAC_SC method: hmac-sha1
[libssh2] Key Exchange: Agreed on COMP_CS method: none
[libssh2] Key Exchange: Agreed on COMP_SC method: none
[libssh2] Key Exchange: Agreed on LANG_CS method:
[libssh2] Key Exchange: Agreed on LANG_SC method:
[libssh2] Key Exchange: Initiating Diffie-Hellman Group1 Key Exchange
[libssh2] Key Exchange: Sending KEX packet 30
=> libssh2_packet_write plain (133 bytes)
=> libssh2_packet_write send() (144 bytes)
[libssh2] Transport: Looking for packet of type: 31
[libssh2] Transport: May block until packet of type 31 becomes available
=> libssh2_packet_read() raw (1032 bytes)
=> libssh2_packet_read() plain (1000 bytes)
[libssh2] Transport: Packet type 31 received, length=1000
[libssh2] Transport: Looking for packet of type: 31
[libssh2] Key Exchange: Server's MD5 Fingerprint: cc:a6:ba: 
33:4f:a7:c2:f4:66:b1:05:5f:b2:5a:d5:f7
[libssh2] Key Exchange: Server's SHA1 Fingerprint: 2f:be: 
14:55:a2:f4:59:e1:1a:87:d4:f4:4d:7a:b8:97:c0:5d:b0:9d
[libssh2] Failure Event: -14 - Invalid DSS signature length
[libssh2] Failure Event: -11 - Unable to verify hostkey signature
[libssh2] Failure Event: -8 - Unrecoverable error exchanging keys
[libssh2] Failure Event: -5 - Unable to exchange encryption keys

-Adam

On Jan 5, 2009, at 7:02 PM, Peter Stuge wrote:

> Adam Jacob Muller wrote:
>>>> Any ideas how to wedge libssh2 to get it to play nicely with
>>>> this router?
>>>
>>> The OpenSSH problem is that the switch always tries to use the
>>> maximum window size reported by the remote (OpenSSH) but it
>>> doesn't have enough resources to do that so the channel open
>>> fails.
>>>
>>> libssh2 kex fail is interesting. Can you get more debugging from
>>> libssh2?
>>
>> Any chance you could point me in the right direction with regards
>> to enabling debugging? for some reason this seems to be not
>> behaving as I would expect.
>>
>> This php code...
> ..
>
>> Any idea how to GET more debug from it :)
>
> For starters I recommend abandoning PHP and writing a small C program
> that reliably reproduces the failure. Besides making debugging much
> easier it will at the same time rule out any problems with the PHP
> bindings.
>
>
> //Peter
>
> ------------------------------------------------------------------------------
> _______________________________________________
> libssh2-devel mailing list
> libssh2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libssh2-devel


------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to