Subject: [libssh2] meaning of -37 "Failed getting banner" / "Unable to exchange encryption keys" /

[libssh2] meaning of -37 "Failed getting banner" / "Unable to exchange encryption keys" /

From: Nick Rudnick <nick.rudnick_at_googlemail.com>
Date: Wed, 25 Apr 2012 20:59:00 +0200

Dear all,

beginning my actual work now, making run a Haskell interface to libssh2, I
(greatly appreciating libssh2 debug messaging) stumbled over two -37 error
messages which I di not understand nor found an explanation for so that I
can imagine what's going on.

Any enlightenment welcome... :-) As usual, thanks a lot in advance, Nick

= = = = = = = = = = = = = = = = =
Failure Event: -37 - Failed getting banner
- - - - - - - - - - - - - - - - - -
[libssh2] 0.953485 Transport: session_startup for socket 3
[libssh2] 0.953504 Transport: Sending Banner: SSH-2.0-libssh2_1.4.2-20120422
[libssh2] 0.953539 Socket: Sent 32/32 bytes at 0x7f9517e99020+0
[libssh2] 0.953586 Socket: Error recving 1 bytes: 11
[libssh2] 0.953603 Failure Event: -37 - Failed getting banner
Main: TIMEOUT

= = = = = = = = = = = = = = = = =
Failure Event: -37 - Failed getting banner
- - - - - - - - - - - - - - - - - -
[libssh2] 0.299932 Transport: session_startup for socket 3
[libssh2] 0.299979 Transport: Sending Banner: SSH-2.0-OpenSSH_5.4
[libssh2] 0.300057 Socket: Sent 21/21 bytes at 0x1ffb630+0
[libssh2] 0.300118 Socket: Error recving 1 bytes: 11
[libssh2] 0.300149 Failure Event: -37 - Failed getting banner
[libssh2] 0.307140 Socket: Recved 1 bytes banner
[libssh2] 0.307161 Socket: Recved 1 bytes banner
[libssh2] 0.307168 Socket: Recved 1 bytes banner
[libssh2] 0.307174 Socket: Recved 1 bytes banner
[libssh2] 0.307179 Socket: Recved 1 bytes banner
[libssh2] 0.307184 Socket: Recved 1 bytes banner
[libssh2] 0.307189 Socket: Recved 1 bytes banner
[libssh2] 0.307195 Socket: Recved 1 bytes banner
[libssh2] 0.307200 Socket: Recved 1 bytes banner
[libssh2] 0.307205 Socket: Recved 1 bytes banner
[libssh2] 0.307210 Socket: Recved 1 bytes banner
[libssh2] 0.307215 Socket: Recved 1 bytes banner
[libssh2] 0.307220 Socket: Recved 1 bytes banner
[libssh2] 0.307226 Socket: Recved 1 bytes banner
[libssh2] 0.307231 Socket: Recved 1 bytes banner
[libssh2] 0.307236 Socket: Recved 1 bytes banner
[libssh2] 0.307241 Socket: Recved 1 bytes banner
[libssh2] 0.307246 Socket: Recved 1 bytes banner
[libssh2] 0.307251 Socket: Recved 1 bytes banner
[libssh2] 0.307257 Socket: Recved 1 bytes banner
[libssh2] 0.307263 Socket: Recved 1 bytes banner
[libssh2] 0.307273 Transport: Received Banner: SSH-2.0-OpenSSH_5.8
[libssh2] 0.307467 Key Ex: Sent KEX:
diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
[libssh2] 0.307478 Key Ex: Sent HOSTKEY: ssh-rsa,ssh-dss
[libssh2] 0.307483 Key Ex: Sent CRYPT_CS:
aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc_at_lysator.liu.se
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[libssh2] 0.307490 Key Ex: Sent CRYPT_SC:
aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc_at_lysator.liu.se
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[libssh2] 0.307496 Key Ex: Sent MAC_CS:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160_at_openssh.com
[libssh2] 0.307502 Key Ex: Sent MAC_SC:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160_at_openssh.com
[libssh2] 0.307507 Key Ex: Sent COMP_CS: none
[libssh2] 0.307512 Key Ex: Sent COMP_SC: none
[libssh2] 0.307517 Key Ex: Sent LANG_CS:
[libssh2] 0.307521 Key Ex: Sent LANG_SC:
=> libssh2_transport_write plain (636 bytes)
0000: 14 30 50 D8 1E 8E 7C DC B4 F0 E3 24 BD CB 75 76 : .0P...|....$..uv
0010: C8 00 00 00 59 64 69 66 66 69 65 2D 68 65 6C 6C : ....Ydiffie-hell
0020: 6D 61 6E 2D 67 72 6F 75 70 31 34 2D 73 68 61 31 : man-group14-sha1
0030: 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 6E 2D : ,diffie-hellman-
0040: 67 72 6F 75 70 2D 65 78 63 68 61 6E 67 65 2D 73 : group-exchange-s
0050: 68 61 31 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D : ha1,diffie-hellm
0060: 61 6E 2D 67 72 6F 75 70 31 2D 73 68 61 31 00 00 : an-group1-sha1..
0070: 00 0F 73 73 68 2D 72 73 61 2C 73 73 68 2D 64 73 : ..ssh-rsa,ssh-ds
0080: 73 00 00 00 92 61 65 73 31 32 38 2D 63 74 72 2C : s....aes128-ctr,
0090: 61 65 73 31 39 32 2D 63 74 72 2C 61 65 73 32 35 : aes192-ctr,aes25
00a0: 36 2D 63 74 72 2C 61 65 73 32 35 36 2D 63 62 63 : 6-ctr,aes256-cbc
00b0: 2C 72 69 6A 6E 64 61 65 6C 2D 63 62 63 40 6C 79 : ,rijndael-cbc_at_ly
00c0: 73 61 74 6F 72 2E 6C 69 75 2E 73 65 2C 61 65 73 : sator.liu.se,aes
00d0: 31 39 32 2D 63 62 63 2C 61 65 73 31 32 38 2D 63 : 192-cbc,aes128-c
00e0: 62 63 2C 62 6C 6F 77 66 69 73 68 2D 63 62 63 2C : bc,blowfish-cbc,
00f0: 61 72 63 66 6F 75 72 31 32 38 2C 61 72 63 66 6F : arcfour128,arcfo
0100: 75 72 2C 63 61 73 74 31 32 38 2D 63 62 63 2C 33 : ur,cast128-cbc,3
0110: 64 65 73 2D 63 62 63 00 00 00 92 61 65 73 31 32 : des-cbc....aes12
0120: 38 2D 63 74 72 2C 61 65 73 31 39 32 2D 63 74 72 : 8-ctr,aes192-ctr
0130: 2C 61 65 73 32 35 36 2D 63 74 72 2C 61 65 73 32 : ,aes256-ctr,aes2
0140: 35 36 2D 63 62 63 2C 72 69 6A 6E 64 61 65 6C 2D : 56-cbc,rijndael-
0150: 63 62 63 40 6C 79 73 61 74 6F 72 2E 6C 69 75 2E : cbc_at_lysator.liu.
0160: 73 65 2C 61 65 73 31 39 32 2D 63 62 63 2C 61 65 : se,aes192-cbc,ae
0170: 73 31 32 38 2D 63 62 63 2C 62 6C 6F 77 66 69 73 : s128-cbc,blowfis
0180: 68 2D 63 62 63 2C 61 72 63 66 6F 75 72 31 32 38 : h-cbc,arcfour128
0190: 2C 61 72 63 66 6F 75 72 2C 63 61 73 74 31 32 38 : ,arcfour,cast128
01a0: 2D 63 62 63 2C 33 64 65 73 2D 63 62 63 00 00 00 : -cbc,3des-cbc...
01b0: 55 68 6D 61 63 2D 73 68 61 31 2C 68 6D 61 63 2D : Uhmac-sha1,hmac-
01c0: 73 68 61 31 2D 39 36 2C 68 6D 61 63 2D 6D 64 35 : sha1-96,hmac-md5
01d0: 2C 68 6D 61 63 2D 6D 64 35 2D 39 36 2C 68 6D 61 : ,hmac-md5-96,hma
01e0: 63 2D 72 69 70 65 6D 64 31 36 30 2C 68 6D 61 63 : c-ripemd160,hmac
01f0: 2D 72 69 70 65 6D 64 31 36 30 40 6F 70 65 6E 73 : -ripemd160_at_opens
0200: 73 68 2E 63 6F 6D 00 00 00 55 68 6D 61 63 2D 73 : sh.com...Uhmac-s
0210: 68 61 31 2C 68 6D 61 63 2D 73 68 61 31 2D 39 36 : ha1,hmac-sha1-96
0220: 2C 68 6D 61 63 2D 6D 64 35 2C 68 6D 61 63 2D 6D : ,hmac-md5,hmac-m
0230: 64 35 2D 39 36 2C 68 6D 61 63 2D 72 69 70 65 6D : d5-96,hmac-ripem
0240: 64 31 36 30 2C 68 6D 61 63 2D 72 69 70 65 6D 64 : d160,hmac-ripemd
0250: 31 36 30 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 : 160_at_openssh.com.
0260: 00 00 04 6E 6F 6E 65 00 00 00 04 6E 6F 6E 65 00 : ...none....none.
0270: 00 00 00 00 00 00 00 00 00 00 00 00 : ............
[libssh2] 0.307746 Socket: Sent 648/648 bytes at 0x1fee638
=> libssh2_transport_write send() (648 bytes)
0000: 00 00 02 84 07 14 30 50 D8 1E 8E 7C DC B4 F0 E3 : ......0P...|....
0010: 24 BD CB 75 76 C8 00 00 00 59 64 69 66 66 69 65 : $..uv....Ydiffie
0020: 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 31 34 : -hellman-group14
0030: 2D 73 68 61 31 2C 64 69 66 66 69 65 2D 68 65 6C : -sha1,diffie-hel
0040: 6C 6D 61 6E 2D 67 72 6F 75 70 2D 65 78 63 68 61 : lman-group-excha
0050: 6E 67 65 2D 73 68 61 31 2C 64 69 66 66 69 65 2D : nge-sha1,diffie-
0060: 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 31 2D 73 : hellman-group1-s
0070: 68 61 31 00 00 00 0F 73 73 68 2D 72 73 61 2C 73 : ha1....ssh-rsa,s
0080: 73 68 2D 64 73 73 00 00 00 92 61 65 73 31 32 38 : sh-dss....aes128
0090: 2D 63 74 72 2C 61 65 73 31 39 32 2D 63 74 72 2C : -ctr,aes192-ctr,
00a0: 61 65 73 32 35 36 2D 63 74 72 2C 61 65 73 32 35 : aes256-ctr,aes25
00b0: 36 2D 63 62 63 2C 72 69 6A 6E 64 61 65 6C 2D 63 : 6-cbc,rijndael-c
00c0: 62 63 40 6C 79 73 61 74 6F 72 2E 6C 69 75 2E 73 : bc_at_lysator.liu.s
00d0: 65 2C 61 65 73 31 39 32 2D 63 62 63 2C 61 65 73 : e,aes192-cbc,aes
00e0: 31 32 38 2D 63 62 63 2C 62 6C 6F 77 66 69 73 68 : 128-cbc,blowfish
00f0: 2D 63 62 63 2C 61 72 63 66 6F 75 72 31 32 38 2C : -cbc,arcfour128,
0100: 61 72 63 66 6F 75 72 2C 63 61 73 74 31 32 38 2D : arcfour,cast128-
0110: 63 62 63 2C 33 64 65 73 2D 63 62 63 00 00 00 92 : cbc,3des-cbc....
0120: 61 65 73 31 32 38 2D 63 74 72 2C 61 65 73 31 39 : aes128-ctr,aes19
0130: 32 2D 63 74 72 2C 61 65 73 32 35 36 2D 63 74 72 : 2-ctr,aes256-ctr
0140: 2C 61 65 73 32 35 36 2D 63 62 63 2C 72 69 6A 6E : ,aes256-cbc,rijn
0150: 64 61 65 6C 2D 63 62 63 40 6C 79 73 61 74 6F 72 : dael-cbc_at_lysator
0160: 2E 6C 69 75 2E 73 65 2C 61 65 73 31 39 32 2D 63 : .liu.se,aes192-c
0170: 62 63 2C 61 65 73 31 32 38 2D 63 62 63 2C 62 6C : bc,aes128-cbc,bl
0180: 6F 77 66 69 73 68 2D 63 62 63 2C 61 72 63 66 6F : owfish-cbc,arcfo
0190: 75 72 31 32 38 2C 61 72 63 66 6F 75 72 2C 63 61 : ur128,arcfour,ca
01a0: 73 74 31 32 38 2D 63 62 63 2C 33 64 65 73 2D 63 : st128-cbc,3des-c
01b0: 62 63 00 00 00 55 68 6D 61 63 2D 73 68 61 31 2C : bc...Uhmac-sha1,
01c0: 68 6D 61 63 2D 73 68 61 31 2D 39 36 2C 68 6D 61 : hmac-sha1-96,hma
01d0: 63 2D 6D 64 35 2C 68 6D 61 63 2D 6D 64 35 2D 39 : c-md5,hmac-md5-9
01e0: 36 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 : 6,hmac-ripemd160
01f0: 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 40 : ,hmac-ripemd160@
0200: 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 00 00 55 68 : openssh.com...Uh
0210: 6D 61 63 2D 73 68 61 31 2C 68 6D 61 63 2D 73 68 : mac-sha1,hmac-sh
0220: 61 31 2D 39 36 2C 68 6D 61 63 2D 6D 64 35 2C 68 : a1-96,hmac-md5,h
0230: 6D 61 63 2D 6D 64 35 2D 39 36 2C 68 6D 61 63 2D : mac-md5-96,hmac-
0240: 72 69 70 65 6D 64 31 36 30 2C 68 6D 61 63 2D 72 : ripemd160,hmac-r
0250: 69 70 65 6D 64 31 36 30 40 6F 70 65 6E 73 73 68 : ipemd160_at_openssh
0260: 2E 63 6F 6D 00 00 00 04 6E 6F 6E 65 00 00 00 04 : .com....none....
0270: 6E 6F 6E 65 00 00 00 00 00 00 00 00 00 00 00 00 : none............
0280: 00 7C 35 B5 57 B8 5C 5A : .|5.W.\Z
[libssh2] 0.307979 Transport: Looking for packet of type: 20
[libssh2] 0.307988 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 0.308285 Socket: Recved 856/16384 bytes to 0x1fea5f8+0
=> libssh2_transport_read() raw (856 bytes)
0000: 00 00 03 54 05 14 5E FC 1B 02 C3 97 1D 0E E4 4F : ...T..^........O
0010: 35 3F 27 DF F6 6F 00 00 00 B7 65 63 64 68 2D 73 : 5?'..o....ecdh-s
0020: 68 61 32 2D 6E 69 73 74 70 32 35 36 2C 65 63 64 : ha2-nistp256,ecd
0030: 68 2D 73 68 61 32 2D 6E 69 73 74 70 33 38 34 2C : h-sha2-nistp384,
0040: 65 63 64 68 2D 73 68 61 32 2D 6E 69 73 74 70 35 : ecdh-sha2-nistp5
0050: 32 31 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 : 21,diffie-hellma
0060: 6E 2D 67 72 6F 75 70 2D 65 78 63 68 61 6E 67 65 : n-group-exchange
0070: 2D 73 68 61 32 35 36 2C 64 69 66 66 69 65 2D 68 : -sha256,diffie-h
0080: 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 2D 65 78 63 : ellman-group-exc
0090: 68 61 6E 67 65 2D 73 68 61 31 2C 64 69 66 66 69 : hange-sha1,diffi
00a0: 65 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 31 : e-hellman-group1
00b0: 34 2D 73 68 61 31 2C 64 69 66 66 69 65 2D 68 65 : 4-sha1,diffie-he
00c0: 6C 6C 6D 61 6E 2D 67 72 6F 75 70 31 2D 73 68 61 : llman-group1-sha
00d0: 31 00 00 00 23 73 73 68 2D 72 73 61 2C 73 73 68 : 1...#ssh-rsa,ssh
00e0: 2D 64 73 73 2C 65 63 64 73 61 2D 73 68 61 32 2D : -dss,ecdsa-sha2-
00f0: 6E 69 73 74 70 32 35 36 00 00 00 9D 61 65 73 31 : nistp256....aes1
0100: 32 38 2D 63 74 72 2C 61 65 73 31 39 32 2D 63 74 : 28-ctr,aes192-ct
0110: 72 2C 61 65 73 32 35 36 2D 63 74 72 2C 61 72 63 : r,aes256-ctr,arc
0120: 66 6F 75 72 32 35 36 2C 61 72 63 66 6F 75 72 31 : four256,arcfour1
0130: 32 38 2C 61 65 73 31 32 38 2D 63 62 63 2C 33 64 : 28,aes128-cbc,3d
0140: 65 73 2D 63 62 63 2C 62 6C 6F 77 66 69 73 68 2D : es-cbc,blowfish-
0150: 63 62 63 2C 63 61 73 74 31 32 38 2D 63 62 63 2C : cbc,cast128-cbc,
0160: 61 65 73 31 39 32 2D 63 62 63 2C 61 65 73 32 35 : aes192-cbc,aes25
0170: 36 2D 63 62 63 2C 61 72 63 66 6F 75 72 2C 72 69 : 6-cbc,arcfour,ri
0180: 6A 6E 64 61 65 6C 2D 63 62 63 40 6C 79 73 61 74 : jndael-cbc_at_lysat
0190: 6F 72 2E 6C 69 75 2E 73 65 00 00 00 9D 61 65 73 : or.liu.se....aes
01a0: 31 32 38 2D 63 74 72 2C 61 65 73 31 39 32 2D 63 : 128-ctr,aes192-c
01b0: 74 72 2C 61 65 73 32 35 36 2D 63 74 72 2C 61 72 : tr,aes256-ctr,ar
01c0: 63 66 6F 75 72 32 35 36 2C 61 72 63 66 6F 75 72 : cfour256,arcfour
01d0: 31 32 38 2C 61 65 73 31 32 38 2D 63 62 63 2C 33 : 128,aes128-cbc,3
01e0: 64 65 73 2D 63 62 63 2C 62 6C 6F 77 66 69 73 68 : des-cbc,blowfish
01f0: 2D 63 62 63 2C 63 61 73 74 31 32 38 2D 63 62 63 : -cbc,cast128-cbc
0200: 2C 61 65 73 31 39 32 2D 63 62 63 2C 61 65 73 32 : ,aes192-cbc,aes2
0210: 35 36 2D 63 62 63 2C 61 72 63 66 6F 75 72 2C 72 : 56-cbc,arcfour,r
0220: 69 6A 6E 64 61 65 6C 2D 63 62 63 40 6C 79 73 61 : ijndael-cbc_at_lysa
0230: 74 6F 72 2E 6C 69 75 2E 73 65 00 00 00 69 68 6D : tor.liu.se...ihm
0240: 61 63 2D 6D 64 35 2C 68 6D 61 63 2D 73 68 61 31 : ac-md5,hmac-sha1
0250: 2C 75 6D 61 63 2D 36 34 40 6F 70 65 6E 73 73 68 : ,umac-64_at_openssh
0260: 2E 63 6F 6D 2C 68 6D 61 63 2D 72 69 70 65 6D 64 : .com,hmac-ripemd
0270: 31 36 30 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 : 160,hmac-ripemd1
0280: 36 30 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 2C 68 : 60_at_openssh.com,h
0290: 6D 61 63 2D 73 68 61 31 2D 39 36 2C 68 6D 61 63 : mac-sha1-96,hmac
02a0: 2D 6D 64 35 2D 39 36 00 00 00 69 68 6D 61 63 2D : -md5-96...ihmac-
02b0: 6D 64 35 2C 68 6D 61 63 2D 73 68 61 31 2C 75 6D : md5,hmac-sha1,um
02c0: 61 63 2D 36 34 40 6F 70 65 6E 73 73 68 2E 63 6F : ac-64_at_openssh.co
02d0: 6D 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 : m,hmac-ripemd160
02e0: 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 40 : ,hmac-ripemd160@
02f0: 6F 70 65 6E 73 73 68 2E 63 6F 6D 2C 68 6D 61 63 : openssh.com,hmac
0300: 2D 73 68 61 31 2D 39 36 2C 68 6D 61 63 2D 6D 64 : -sha1-96,hmac-md
0310: 35 2D 39 36 00 00 00 15 6E 6F 6E 65 2C 7A 6C 69 : 5-96....none,zli
0320: 62 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 00 00 : b_at_openssh.com...
0330: 15 6E 6F 6E 65 2C 7A 6C 69 62 40 6F 70 65 6E 73 : .none,zlib_at_opens
0340: 73 68 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 : sh.com..........
0350: 00 00 00 00 00 00 00 00 : ........
=> libssh2_transport_read() plain (846 bytes)
0000: 14 5E FC 1B 02 C3 97 1D 0E E4 4F 35 3F 27 DF F6 : .^........O5?'..
0010: 6F 00 00 00 B7 65 63 64 68 2D 73 68 61 32 2D 6E : o....ecdh-sha2-n
0020: 69 73 74 70 32 35 36 2C 65 63 64 68 2D 73 68 61 : istp256,ecdh-sha
0030: 32 2D 6E 69 73 74 70 33 38 34 2C 65 63 64 68 2D : 2-nistp384,ecdh-
0040: 73 68 61 32 2D 6E 69 73 74 70 35 32 31 2C 64 69 : sha2-nistp521,di
0050: 66 66 69 65 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F : ffie-hellman-gro
0060: 75 70 2D 65 78 63 68 61 6E 67 65 2D 73 68 61 32 : up-exchange-sha2
0070: 35 36 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 : 56,diffie-hellma
0080: 6E 2D 67 72 6F 75 70 2D 65 78 63 68 61 6E 67 65 : n-group-exchange
0090: 2D 73 68 61 31 2C 64 69 66 66 69 65 2D 68 65 6C : -sha1,diffie-hel
00a0: 6C 6D 61 6E 2D 67 72 6F 75 70 31 34 2D 73 68 61 : lman-group14-sha
00b0: 31 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 6E : 1,diffie-hellman
00c0: 2D 67 72 6F 75 70 31 2D 73 68 61 31 00 00 00 23 : -group1-sha1...#
00d0: 73 73 68 2D 72 73 61 2C 73 73 68 2D 64 73 73 2C : ssh-rsa,ssh-dss,
00e0: 65 63 64 73 61 2D 73 68 61 32 2D 6E 69 73 74 70 : ecdsa-sha2-nistp
00f0: 32 35 36 00 00 00 9D 61 65 73 31 32 38 2D 63 74 : 256....aes128-ct
0100: 72 2C 61 65 73 31 39 32 2D 63 74 72 2C 61 65 73 : r,aes192-ctr,aes
0110: 32 35 36 2D 63 74 72 2C 61 72 63 66 6F 75 72 32 : 256-ctr,arcfour2
0120: 35 36 2C 61 72 63 66 6F 75 72 31 32 38 2C 61 65 : 56,arcfour128,ae
0130: 73 31 32 38 2D 63 62 63 2C 33 64 65 73 2D 63 62 : s128-cbc,3des-cb
0140: 63 2C 62 6C 6F 77 66 69 73 68 2D 63 62 63 2C 63 : c,blowfish-cbc,c
0150: 61 73 74 31 32 38 2D 63 62 63 2C 61 65 73 31 39 : ast128-cbc,aes19
0160: 32 2D 63 62 63 2C 61 65 73 32 35 36 2D 63 62 63 : 2-cbc,aes256-cbc
0170: 2C 61 72 63 66 6F 75 72 2C 72 69 6A 6E 64 61 65 : ,arcfour,rijndae
0180: 6C 2D 63 62 63 40 6C 79 73 61 74 6F 72 2E 6C 69 : l-cbc_at_lysator.li
0190: 75 2E 73 65 00 00 00 9D 61 65 73 31 32 38 2D 63 : u.se....aes128-c
01a0: 74 72 2C 61 65 73 31 39 32 2D 63 74 72 2C 61 65 : tr,aes192-ctr,ae
01b0: 73 32 35 36 2D 63 74 72 2C 61 72 63 66 6F 75 72 : s256-ctr,arcfour
01c0: 32 35 36 2C 61 72 63 66 6F 75 72 31 32 38 2C 61 : 256,arcfour128,a
01d0: 65 73 31 32 38 2D 63 62 63 2C 33 64 65 73 2D 63 : es128-cbc,3des-c
01e0: 62 63 2C 62 6C 6F 77 66 69 73 68 2D 63 62 63 2C : bc,blowfish-cbc,
01f0: 63 61 73 74 31 32 38 2D 63 62 63 2C 61 65 73 31 : cast128-cbc,aes1
0200: 39 32 2D 63 62 63 2C 61 65 73 32 35 36 2D 63 62 : 92-cbc,aes256-cb
0210: 63 2C 61 72 63 66 6F 75 72 2C 72 69 6A 6E 64 61 : c,arcfour,rijnda
0220: 65 6C 2D 63 62 63 40 6C 79 73 61 74 6F 72 2E 6C : el-cbc_at_lysator.l
0230: 69 75 2E 73 65 00 00 00 69 68 6D 61 63 2D 6D 64 : iu.se...ihmac-md
0240: 35 2C 68 6D 61 63 2D 73 68 61 31 2C 75 6D 61 63 : 5,hmac-sha1,umac
0250: 2D 36 34 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 2C : -64_at_openssh.com,
0260: 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 2C 68 : hmac-ripemd160,h
0270: 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 40 6F 70 : mac-ripemd160_at_op
0280: 65 6E 73 73 68 2E 63 6F 6D 2C 68 6D 61 63 2D 73 : enssh.com,hmac-s
0290: 68 61 31 2D 39 36 2C 68 6D 61 63 2D 6D 64 35 2D : ha1-96,hmac-md5-
02a0: 39 36 00 00 00 69 68 6D 61 63 2D 6D 64 35 2C 68 : 96...ihmac-md5,h
02b0: 6D 61 63 2D 73 68 61 31 2C 75 6D 61 63 2D 36 34 : mac-sha1,umac-64
02c0: 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 2C 68 6D 61 : @openssh.com,hma
02d0: 63 2D 72 69 70 65 6D 64 31 36 30 2C 68 6D 61 63 : c-ripemd160,hmac
02e0: 2D 72 69 70 65 6D 64 31 36 30 40 6F 70 65 6E 73 : -ripemd160_at_opens
02f0: 73 68 2E 63 6F 6D 2C 68 6D 61 63 2D 73 68 61 31 : sh.com,hmac-sha1
0300: 2D 39 36 2C 68 6D 61 63 2D 6D 64 35 2D 39 36 00 : -96,hmac-md5-96.
0310: 00 00 15 6E 6F 6E 65 2C 7A 6C 69 62 40 6F 70 65 : ...none,zlib_at_ope
0320: 6E 73 73 68 2E 63 6F 6D 00 00 00 15 6E 6F 6E 65 : nssh.com....none
0330: 2C 7A 6C 69 62 40 6F 70 65 6E 73 73 68 2E 63 6F : ,zlib_at_openssh.co
0340: 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 : m.............
[libssh2] 0.309464 Transport: Packet type 20 received, length=846
[libssh2] 0.309474 Transport: Looking for packet of type: 20
[libssh2] 0.309490 Key Ex: Agreed on KEX method: diffie-hellman-group14-sha1
[libssh2] 0.309499 Key Ex: Agreed on HOSTKEY method: ssh-rsa
[libssh2] 0.309508 Key Ex: Agreed on CRYPT_CS method: aes128-ctr
[libssh2] 0.309516 Key Ex: Agreed on CRYPT_SC method: aes128-ctr
[libssh2] 0.309524 Key Ex: Agreed on MAC_CS method: hmac-sha1
[libssh2] 0.309532 Key Ex: Agreed on MAC_SC method: hmac-sha1
[libssh2] 0.309541 Key Ex: Agreed on COMP_CS method: none
[libssh2] 0.309549 Key Ex: Agreed on COMP_SC method: none
[libssh2] 0.309566 Key Ex: Initiating Diffie-Hellman Group14 Key Exchange
[libssh2] 0.311442 Key Ex: Sending KEX packet 30
=> libssh2_transport_write plain (262 bytes)
0000: 1E 00 00 01 01 00 AA 90 AC 94 A1 0C 5C 04 49 08 : ............\.I.
0010: 01 61 C7 C8 43 C0 D8 7C A7 55 54 96 F5 39 F7 DB : .a..C..|.UT..9..
0020: 94 ED 5E AB 6B 75 8B CE E7 8F 2D 07 C0 E2 FD 80 : ..^.ku....-.....
0030: F6 E7 AA 2C AD 00 06 21 54 7F F4 EB A4 2A 13 84 : ...,...!T....*..
0040: FD D9 9E D9 82 0A A8 AF 6C 4A F7 83 0A E6 07 61 : ........lJ.....a
0050: 19 B7 62 73 70 57 2F CD AE DB 22 66 E9 8C 5D CA : ..bspW/..."f..].
0060: ED FF ED 71 68 10 B4 FF 6B B8 63 5C C4 F7 FF 7F : ...qh...k.c\....
0070: 4A 20 8D 30 F5 08 62 11 7F 22 0A 66 14 A4 AD 02 : J .0..b..".f....
0080: B0 06 14 67 54 35 31 E0 E5 15 E9 19 0D 1C C5 27 : ...gT51........'
0090: 58 5C E4 06 BC A7 28 61 11 3A 62 CD 2C 72 84 FB : X\....(a.:b.,r..
00a0: 1A 26 65 88 09 7D 5D BB 3D 2D 5D 23 AF 52 DF D9 : .&e..}].=-]#.R..
00b0: 54 01 B1 18 FE 2F F1 F1 D5 E0 FC 25 95 0E 5E 89 : T..../.....%..^.
00c0: BE D5 E4 A2 A1 C7 E0 E3 7D 4F 85 61 A0 22 2C 71 : ........}O.a.",q
00d0: C1 D0 5B C6 64 D7 92 0C 6C 69 80 8D A2 96 6B 60 : ..[.d...li....k`
00e0: 85 BB 0A 4E 42 19 AD 85 F8 34 57 D2 7C A3 D4 A9 : ...NB....4W.|...
00f0: 20 A1 9F C2 B8 28 8C E1 5E 5B 06 E1 90 8C BB F4 : ....(..^[......
0100: 90 28 05 FA 05 48 : .(...H
[libssh2] 0.311600 Socket: Sent 272/272 bytes at 0x1fee638
=> libssh2_transport_write send() (272 bytes)
0000: 00 00 01 0C 05 1E 00 00 01 01 00 AA 90 AC 94 A1 : ................
0010: 0C 5C 04 49 08 01 61 C7 C8 43 C0 D8 7C A7 55 54 : .\.I..a..C..|.UT
0020: 96 F5 39 F7 DB 94 ED 5E AB 6B 75 8B CE E7 8F 2D : ..9....^.ku....-
0030: 07 C0 E2 FD 80 F6 E7 AA 2C AD 00 06 21 54 7F F4 : ........,...!T..
0040: EB A4 2A 13 84 FD D9 9E D9 82 0A A8 AF 6C 4A F7 : ..*..........lJ.
0050: 83 0A E6 07 61 19 B7 62 73 70 57 2F CD AE DB 22 : ....a..bspW/..."
0060: 66 E9 8C 5D CA ED FF ED 71 68 10 B4 FF 6B B8 63 : f..]....qh...k.c
0070: 5C C4 F7 FF 7F 4A 20 8D 30 F5 08 62 11 7F 22 0A : \....J .0..b..".
0080: 66 14 A4 AD 02 B0 06 14 67 54 35 31 E0 E5 15 E9 : f.......gT51....
0090: 19 0D 1C C5 27 58 5C E4 06 BC A7 28 61 11 3A 62 : ....'X\....(a.:b
00a0: CD 2C 72 84 FB 1A 26 65 88 09 7D 5D BB 3D 2D 5D : .,r...&e..}].=-]
00b0: 23 AF 52 DF D9 54 01 B1 18 FE 2F F1 F1 D5 E0 FC : #.R..T..../.....
00c0: 25 95 0E 5E 89 BE D5 E4 A2 A1 C7 E0 E3 7D 4F 85 : %..^.........}O.
00d0: 61 A0 22 2C 71 C1 D0 5B C6 64 D7 92 0C 6C 69 80 : a.",q..[.d...li.
00e0: 8D A2 96 6B 60 85 BB 0A 4E 42 19 AD 85 F8 34 57 : ...k`...NB....4W
00f0: D2 7C A3 D4 A9 20 A1 9F C2 B8 28 8C E1 5E 5B 06 : .|... ....(..^[.
0100: E1 90 8C BB F4 90 28 05 FA 05 48 29 CD D0 03 CE : ......(...H)....
[libssh2] 0.312216 Transport: Looking for packet of type: 31
[libssh2] 0.312230 Failure Event: -37 - Unable to exchange encryption keys
Main: TIMEOUT

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-04-25