Subject: Re: EPIPE causes 'Authentication by public key failed' for examples with keyfile authentication at OpenSSH server

Re: EPIPE causes 'Authentication by public key failed' for examples with keyfile authentication at OpenSSH server

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

Hi Peter

"Failure Event: -16 - Unable to open public key file"...??

Here my access rights:
drwx------ 2 i i 4096 2012-04-23 10:52 .
drwxr-xr-x 58 i i 4096 2012-04-24 23:06 ..
-rw------- 1 i i 388 2012-04-22 21:07 authorized_keys
-rw------- 1 i i 1766 2012-03-23 14:55 id_rsa
-rw------- 1 i i 381 2012-03-23 14:55 id_rsa.pub
-rw------- 1 i i 727 2012-03-23 17:10 keygen.log
-rw------- 1 i i 1328 2012-04-23 10:52 known_hosts

= 8< ==================== ssh2.c > ssh2 =====
[libssh2] 0.294243 Transport: session_startup for socket 3
[libssh2] 0.294315 Transport: Sending Banner: SSH-2.0-libssh2_1.4.2-20120422
[libssh2] 0.294356 Socket: Sent 32/32 bytes at 0x7ffd5aa69fe0+0
[libssh2] 0.294381 Socket: Error recving 1 bytes: 11
[libssh2] 0.294397 Failure Event: -37 - Failed getting banner
[libssh2] 0.301856 Socket: Recved 1 bytes banner
[libssh2] 0.301885 Socket: Recved 1 bytes banner
[libssh2] 0.301901 Socket: Recved 1 bytes banner
[libssh2] 0.301917 Socket: Recved 1 bytes banner
[libssh2] 0.301933 Socket: Recved 1 bytes banner
[libssh2] 0.301954 Socket: Recved 1 bytes banner
[libssh2] 0.301981 Socket: Recved 1 bytes banner
[libssh2] 0.302007 Socket: Recved 1 bytes banner
[libssh2] 0.302033 Socket: Recved 1 bytes banner
[libssh2] 0.302061 Socket: Recved 1 bytes banner
[libssh2] 0.302089 Socket: Recved 1 bytes banner
[libssh2] 0.302115 Socket: Recved 1 bytes banner
[libssh2] 0.302141 Socket: Recved 1 bytes banner
[libssh2] 0.302167 Socket: Recved 1 bytes banner
[libssh2] 0.302191 Socket: Recved 1 bytes banner
[libssh2] 0.302230 Socket: Recved 1 bytes banner
[libssh2] 0.302252 Socket: Recved 1 bytes banner
[libssh2] 0.302268 Socket: Recved 1 bytes banner
[libssh2] 0.302285 Socket: Recved 1 bytes banner
[libssh2] 0.302310 Socket: Recved 1 bytes banner
[libssh2] 0.302337 Socket: Recved 1 bytes banner
[libssh2] 0.302364 Transport: Received Banner: SSH-2.0-OpenSSH_5.8
[libssh2] 0.302623 Key Ex: Sent KEX:
diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
[libssh2] 0.302651 Key Ex: Sent HOSTKEY: ssh-rsa,ssh-dss
[libssh2] 0.302666 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.302682 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.302698 Key Ex: Sent MAC_CS:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160_at_openssh.com
[libssh2] 0.302713 Key Ex: Sent MAC_SC:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160_at_openssh.com
[libssh2] 0.302728 Key Ex: Sent COMP_CS: none
[libssh2] 0.302742 Key Ex: Sent COMP_SC: none
[libssh2] 0.302756 Key Ex: Sent LANG_CS:
[libssh2] 0.302770 Key Ex: Sent LANG_SC:
=> libssh2_transport_write plain (636 bytes)
0000: 14 6F 84 B2 BB C3 29 C1 EF 06 19 F8 2C 7E 61 EA : .o....).....,~a.
0010: 78 00 00 00 59 64 69 66 66 69 65 2D 68 65 6C 6C : x...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.303383 Socket: Sent 648/648 bytes at 0xcc2088
=> libssh2_transport_write send() (648 bytes)
0000: 00 00 02 84 07 14 6F 84 B2 BB C3 29 C1 EF 06 19 : ......o....)....
0010: F8 2C 7E 61 EA 78 00 00 00 59 64 69 66 66 69 65 : .,~a.x...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 E9 BC 8B F7 95 01 22 : ......."
[libssh2] 0.304255 Transport: Looking for packet of type: 20
[libssh2] 0.304285 Socket: Recved 856/16384 bytes to 0xcbe048+0
=> libssh2_transport_read() raw (856 bytes)
0000: 00 00 03 54 05 14 40 CD B9 8F 7F BF C8 13 A7 48 : ...T..@........H
0010: 07 AA 6E 87 56 10 00 00 00 B7 65 63 64 68 2D 73 : ..n.V.....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 40 CD B9 8F 7F BF C8 13 A7 48 07 AA 6E 87 56 : .@........H..n.V
0010: 10 00 00 00 B7 65 63 64 68 2D 73 68 61 32 2D 6E : .....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.311087 Transport: Packet type 20 received, length=846
[libssh2] 0.311098 Transport: Looking for packet of type: 20
[libssh2] 0.311112 Key Ex: Agreed on KEX method: diffie-hellman-group14-sha1
[libssh2] 0.311117 Key Ex: Agreed on HOSTKEY method: ssh-rsa
[libssh2] 0.311123 Key Ex: Agreed on CRYPT_CS method: aes128-ctr
[libssh2] 0.311128 Key Ex: Agreed on CRYPT_SC method: aes128-ctr
[libssh2] 0.311133 Key Ex: Agreed on MAC_CS method: hmac-sha1
[libssh2] 0.311138 Key Ex: Agreed on MAC_SC method: hmac-sha1
[libssh2] 0.311143 Key Ex: Agreed on COMP_CS method: none
[libssh2] 0.311148 Key Ex: Agreed on COMP_SC method: none
[libssh2] 0.311159 Key Ex: Initiating Diffie-Hellman Group14 Key Exchange
[libssh2] 0.312235 Key Ex: Sending KEX packet 30
=> libssh2_transport_write plain (261 bytes)
0000: 1E 00 00 01 00 07 28 44 DA 44 89 E9 E0 8C 86 99 : ......(D.D......
0010: 4C 8A F9 6C 7D 87 35 4F E2 90 F1 95 D0 B5 67 46 : L..l}.5O......gF
0020: 54 09 47 25 24 EA 43 6C C2 70 13 0D 54 8D 8E 00 : T.G%$.Cl.p..T...
0030: D7 F8 68 CC 7A B7 0B BF 4F 14 14 45 DD 45 FD 2F : ..h.z...O..E.E./
0040: 3A E0 11 9E DA 70 52 2A B1 43 C8 A8 CF 39 91 24 : :....pR*.C...9.$
0050: DE E9 64 28 78 BE 82 99 A5 79 80 B3 BE 69 87 36 : ..d(x....y...i.6
0060: A0 B2 6A 21 69 EC 93 06 C1 07 26 55 EA 2A EE AE : ..j!i.....&U.*..
0070: 81 D2 FF 3F 58 06 8F B3 AF A7 92 9D 5F 7D 4F 00 : ...?X......._}O.
0080: F3 3B FD BD 02 BA 8E 6D DA 99 38 8B 10 F4 BD 5E : .;.....m..8....^
0090: AD 68 E4 BD 76 F3 F2 1A E9 B5 6E 86 D6 AB F0 80 : .h..v.....n.....
00a0: 32 4D C6 11 6C 10 53 DA 14 B8 0F DD 81 BE 13 3A : 2M..l.S........:
00b0: EA 11 26 BE 4F 23 AD F9 81 88 B4 18 0D FD C8 4C : ..&.O#.........L
00c0: 62 15 4D 0B B8 E7 0D 3E B8 49 40 F5 70 A5 6F D6 : b.M....>.I@.p.o.
00d0: B1 90 C9 42 9B 41 2C 55 A6 5B 8B CF AD 4C 66 5C : ...B.A,U.[...Lf\
00e0: 24 11 F2 F9 71 DE 2B 7F 1E A6 37 D9 B3 69 2E 2C : $...q.+...7..i.,
00f0: 93 80 13 23 C7 01 50 7B 33 3F 8C 70 9C 43 D8 48 : ...#..P{3?.p.C.H
0100: 4E 42 5B 5E 53 : NB[^S
[libssh2] 0.312339 Socket: Sent 272/272 bytes at 0xcc2088
=> libssh2_transport_write send() (272 bytes)
0000: 00 00 01 0C 06 1E 00 00 01 00 07 28 44 DA 44 89 : ...........(D.D.
0010: E9 E0 8C 86 99 4C 8A F9 6C 7D 87 35 4F E2 90 F1 : .....L..l}.5O...
0020: 95 D0 B5 67 46 54 09 47 25 24 EA 43 6C C2 70 13 : ...gFT.G%$.Cl.p.
0030: 0D 54 8D 8E 00 D7 F8 68 CC 7A B7 0B BF 4F 14 14 : .T.....h.z...O..
0040: 45 DD 45 FD 2F 3A E0 11 9E DA 70 52 2A B1 43 C8 : E.E./:....pR*.C.
0050: A8 CF 39 91 24 DE E9 64 28 78 BE 82 99 A5 79 80 : ..9.$..d(x....y.
0060: B3 BE 69 87 36 A0 B2 6A 21 69 EC 93 06 C1 07 26 : ..i.6..j!i.....&
0070: 55 EA 2A EE AE 81 D2 FF 3F 58 06 8F B3 AF A7 92 : U.*.....?X......
0080: 9D 5F 7D 4F 00 F3 3B FD BD 02 BA 8E 6D DA 99 38 : ._}O..;.....m..8
0090: 8B 10 F4 BD 5E AD 68 E4 BD 76 F3 F2 1A E9 B5 6E : ....^.h..v.....n
00a0: 86 D6 AB F0 80 32 4D C6 11 6C 10 53 DA 14 B8 0F : .....2M..l.S....
00b0: DD 81 BE 13 3A EA 11 26 BE 4F 23 AD F9 81 88 B4 : ....:..&.O#.....
00c0: 18 0D FD C8 4C 62 15 4D 0B B8 E7 0D 3E B8 49 40 : ....Lb.M....>.I@
00d0: F5 70 A5 6F D6 B1 90 C9 42 9B 41 2C 55 A6 5B 8B : .p.o....B.A,U.[.
00e0: CF AD 4C 66 5C 24 11 F2 F9 71 DE 2B 7F 1E A6 37 : ..Lf\$...q.+...7
00f0: D9 B3 69 2E 2C 93 80 13 23 C7 01 50 7B 33 3F 8C : ..i.,...#..P{3?.
0100: 70 9C 43 D8 48 4E 42 5B 5E 53 DA 92 73 D5 31 E8 : p.C.HNB[^S..s.1.
[libssh2] 0.339508 Transport: Looking for packet of type: 31
[libssh2] 0.339535 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 0.359090 Socket: Recved 848/16384 bytes to 0xcbe048+0
=> libssh2_transport_read() raw (848 bytes)
0000: 00 00 03 3C 07 1F 00 00 01 17 00 00 00 07 73 73 : ...<..........ss
0010: 68 2D 72 73 61 00 00 00 03 01 00 01 00 00 01 01 : h-rsa...........
0020: 00 E1 9C 29 61 BF 29 DE 36 93 2A 87 DF 4A 8B 54 : ...)a.).6.*..J.T
0030: 64 8E D0 9C 32 06 16 32 31 3C D5 1B F8 A0 6D 82 : d...2..21<....m.
0040: C9 3F 5C 3E 96 39 FE 9D 47 CA 74 E1 6F 58 30 D6 : .?\>.9..G.t.oX0.
0050: 99 94 44 92 D5 46 8B 11 17 26 98 F8 21 54 D7 65 : ..D..F...&..!T.e
0060: FA 22 EA 18 6A 90 5A E5 38 98 6B 87 E5 52 35 3E : ."..j.Z.8.k..R5>
0070: 3D B0 C5 DB A2 2F F8 E7 72 82 50 BF CF 75 AD 9E : =..../..r.P..u..
0080: 55 DB 60 56 4D 3C 16 10 A9 20 D1 B7 95 D1 94 8F : U.`VM<... ......
0090: B4 03 D6 B0 73 5A 64 B0 E0 46 98 D8 C6 32 91 E3 : ....sZd..F...2..
00a0: 17 37 33 1A 18 BC 6F 48 AA 06 E0 96 71 10 E4 59 : .73...oH....q..Y
00b0: E4 29 5B BF D7 24 D2 4C 81 8A 1C 2B 86 74 93 31 : .)[..$.L...+.t.1
00c0: E2 49 1D 72 EE 8F BE 6F 02 6C 06 F7 FF 3B D1 8C : .I.r...o.l...;..
00d0: 01 B2 5A 6A 60 57 48 06 9D 45 DE 91 2C F9 B9 6D : ..Zj`WH..E..,..m
00e0: 19 05 66 AF E0 FC 29 E6 01 56 05 C0 57 6E 49 47 : ..f...)..V..WnIG
00f0: 2F 45 26 E3 7D 9D 43 7C CE 12 A6 D4 23 6B 22 F1 : /E&.}.C|....#k".
0100: 62 C6 78 12 1D 75 60 E2 C6 F9 71 E2 44 1F 8D 01 : b.x..u`...q.D...
0110: F3 C3 B0 B3 47 02 B4 97 37 9A 3A 9A 48 4F 4B 1E : ....G...7.:.HOK.
0120: 15 00 00 01 01 00 98 E4 66 87 B7 17 56 B4 2E 06 : ........f...V...
0130: 98 E0 15 92 A7 19 B0 80 22 A2 AA 6E E4 3D 74 94 : ........"..n.=t.
0140: 21 9C AC B9 D8 4C 49 CD F4 20 CF 32 94 68 79 96 : !....LI.. .2.hy.
0150: 7F 76 73 DF E1 78 4C D8 FB 71 BE 0A C2 9E FE 2E : .vs..xL..q......
0160: CE 53 DA 29 51 B4 F0 A1 96 46 A9 EF 7F D8 7D 7E : .S.)Q....F....}~
0170: 32 B3 5E 4B 3F 94 27 A7 39 7E 88 C7 47 A4 FD 27 : 2.^K?.'.9~..G..'
0180: 9C 40 90 C9 99 75 11 68 D3 61 51 14 C3 EF 8F 6A : .@...u.h.aQ....j
0190: E3 AA 20 69 5D 80 BD 0E 7A EE 51 44 3D 1A 96 95 : .. i]...z.QD=...
01a0: 59 11 8F 89 E7 E0 EC 5B 84 96 08 47 49 4B 47 48 : Y......[...GIKGH
01b0: 8C 47 B5 79 E3 88 43 B9 4A C1 5E EF 5B C2 81 A6 : .G.y..C.J.^.[...
01c0: 01 A7 8A CE 59 8D 20 E5 A6 60 C3 21 64 3A C0 12 : ....Y. ..`.!d:..
01d0: 39 09 85 CE FA AF 06 91 90 A4 CA 32 F4 F2 06 F7 : 9..........2....
01e0: 6A D1 F3 6B 6E 42 A8 FE C8 95 64 29 38 A3 A4 6F : j..knB....d)8..o
01f0: 00 B5 D2 11 14 0D 94 F0 32 10 D4 01 F7 F7 7D 9F : ........2.....}.
0200: C3 B3 74 E6 47 8D BD 6E 68 34 8F F4 FE 0A A6 15 : ..t.G..nh4......
0210: 50 63 20 4B 89 ED FB 72 04 F1 6D 17 64 E4 9B B2 : Pc K...r..m.d...
0220: 92 E1 2F CF 26 7F 00 00 01 0F 00 00 00 07 73 73 : ../.&.........ss
0230: 68 2D 72 73 61 00 00 01 00 70 59 EA D2 CE 6D 8B : h-rsa....pY...m.
0240: 08 66 05 4F 56 33 50 90 9C CA 1D 28 2A C2 BA 37 : .f.OV3P....(*..7
0250: 36 60 EE 98 FA 2E 5E BB AC 72 D9 F1 28 2B A6 BA : 6`....^..r..(+..
0260: 57 BF 2D 07 9E 1F 93 59 DA 9D 91 3A 86 F1 06 FF : W.-....Y...:....
0270: C2 32 68 D8 1A 35 A3 A7 D5 24 7D 77 01 40 69 A0 : .2h..5...$}w._at_i.
0280: 92 AB 06 95 2D FB FF 62 85 37 A0 F5 A5 50 AA 37 : ....-..b.7...P.7
0290: D4 95 0A 8F B6 E9 B2 FF 51 C1 89 24 C3 2E CE E5 : ........Q..$....
02a0: B5 16 6C 93 3B ED FC 9E 5B 08 A0 AA 97 F4 C5 85 : ..l.;...[.......
02b0: A2 17 F9 FF 3E D1 27 FE E0 F1 6F 20 76 87 19 A1 : ....>.'...o v...
02c0: 68 3E 70 4F 7A E2 B7 6E E1 B5 BC 59 C7 9D FA 5B : h>pOz..n...Y...[
02d0: B5 7A 5A 7E 6F 6E 39 DE 40 98 61 BA C3 BE FB 1C : .zZ~on9.@.a.....
02e0: 71 01 02 25 C2 4C 84 56 D0 50 E1 D5 C8 AF 6C CE : q..%.L.V.P....l.
02f0: 6C C4 E4 46 C7 03 3B AA 2D 5A E0 FC D2 16 C9 8F : l..F..;.-Z......
0300: 40 EC A0 BA 1C 3D 73 E3 E0 30 4B 00 55 7E 98 7B : @....=s..0K.U~.{
0310: 17 6C F6 27 A0 D0 DC 0F F4 93 4C 55 F8 DB 43 AC : .l.'......LU..C.
0320: 00 54 07 B1 53 2C 09 DB 3D 53 E5 52 40 8F F9 18 : .T..S,..=S.R@...
0330: 11 43 89 48 34 62 25 F3 3E 00 00 00 00 00 00 00 : .C.H4b%.>.......
0340: 00 00 00 0C 0A 15 00 00 00 00 00 00 00 00 00 00 : ................
=> libssh2_transport_read() plain (820 bytes)
0000: 1F 00 00 01 17 00 00 00 07 73 73 68 2D 72 73 61 : .........ssh-rsa
0010: 00 00 00 03 01 00 01 00 00 01 01 00 E1 9C 29 61 : ..............)a
0020: BF 29 DE 36 93 2A 87 DF 4A 8B 54 64 8E D0 9C 32 : .).6.*..J.Td...2
0030: 06 16 32 31 3C D5 1B F8 A0 6D 82 C9 3F 5C 3E 96 : ..21<....m..?\>.
0040: 39 FE 9D 47 CA 74 E1 6F 58 30 D6 99 94 44 92 D5 : 9..G.t.oX0...D..
0050: 46 8B 11 17 26 98 F8 21 54 D7 65 FA 22 EA 18 6A : F...&..!T.e."..j
0060: 90 5A E5 38 98 6B 87 E5 52 35 3E 3D B0 C5 DB A2 : .Z.8.k..R5>=....
0070: 2F F8 E7 72 82 50 BF CF 75 AD 9E 55 DB 60 56 4D : /..r.P..u..U.`VM
0080: 3C 16 10 A9 20 D1 B7 95 D1 94 8F B4 03 D6 B0 73 : <... ..........s
0090: 5A 64 B0 E0 46 98 D8 C6 32 91 E3 17 37 33 1A 18 : Zd..F...2...73..
00a0: BC 6F 48 AA 06 E0 96 71 10 E4 59 E4 29 5B BF D7 : .oH....q..Y.)[..
00b0: 24 D2 4C 81 8A 1C 2B 86 74 93 31 E2 49 1D 72 EE : $.L...+.t.1.I.r.
00c0: 8F BE 6F 02 6C 06 F7 FF 3B D1 8C 01 B2 5A 6A 60 : ..o.l...;....Zj`
00d0: 57 48 06 9D 45 DE 91 2C F9 B9 6D 19 05 66 AF E0 : WH..E..,..m..f..
00e0: FC 29 E6 01 56 05 C0 57 6E 49 47 2F 45 26 E3 7D : .)..V..WnIG/E&.}
00f0: 9D 43 7C CE 12 A6 D4 23 6B 22 F1 62 C6 78 12 1D : .C|....#k".b.x..
0100: 75 60 E2 C6 F9 71 E2 44 1F 8D 01 F3 C3 B0 B3 47 : u`...q.D.......G
0110: 02 B4 97 37 9A 3A 9A 48 4F 4B 1E 15 00 00 01 01 : ...7.:.HOK......
0120: 00 98 E4 66 87 B7 17 56 B4 2E 06 98 E0 15 92 A7 : ...f...V........
0130: 19 B0 80 22 A2 AA 6E E4 3D 74 94 21 9C AC B9 D8 : ..."..n.=t.!....
0140: 4C 49 CD F4 20 CF 32 94 68 79 96 7F 76 73 DF E1 : LI.. .2.hy..vs..
0150: 78 4C D8 FB 71 BE 0A C2 9E FE 2E CE 53 DA 29 51 : xL..q.......S.)Q
0160: B4 F0 A1 96 46 A9 EF 7F D8 7D 7E 32 B3 5E 4B 3F : ....F....}~2.^K?
0170: 94 27 A7 39 7E 88 C7 47 A4 FD 27 9C 40 90 C9 99 : .'.9~..G..'.@...
0180: 75 11 68 D3 61 51 14 C3 EF 8F 6A E3 AA 20 69 5D : u.h.aQ....j.. i]
0190: 80 BD 0E 7A EE 51 44 3D 1A 96 95 59 11 8F 89 E7 : ...z.QD=...Y....
01a0: E0 EC 5B 84 96 08 47 49 4B 47 48 8C 47 B5 79 E3 : ..[...GIKGH.G.y.
01b0: 88 43 B9 4A C1 5E EF 5B C2 81 A6 01 A7 8A CE 59 : .C.J.^.[.......Y
01c0: 8D 20 E5 A6 60 C3 21 64 3A C0 12 39 09 85 CE FA : . ..`.!d:..9....
01d0: AF 06 91 90 A4 CA 32 F4 F2 06 F7 6A D1 F3 6B 6E : ......2....j..kn
01e0: 42 A8 FE C8 95 64 29 38 A3 A4 6F 00 B5 D2 11 14 : B....d)8..o.....
01f0: 0D 94 F0 32 10 D4 01 F7 F7 7D 9F C3 B3 74 E6 47 : ...2.....}...t.G
0200: 8D BD 6E 68 34 8F F4 FE 0A A6 15 50 63 20 4B 89 : ..nh4......Pc K.
0210: ED FB 72 04 F1 6D 17 64 E4 9B B2 92 E1 2F CF 26 : ..r..m.d...../.&
0220: 7F 00 00 01 0F 00 00 00 07 73 73 68 2D 72 73 61 : .........ssh-rsa
0230: 00 00 01 00 70 59 EA D2 CE 6D 8B 08 66 05 4F 56 : ....pY...m..f.OV
0240: 33 50 90 9C CA 1D 28 2A C2 BA 37 36 60 EE 98 FA : 3P....(*..76`...
0250: 2E 5E BB AC 72 D9 F1 28 2B A6 BA 57 BF 2D 07 9E : .^..r..(+..W.-..
0260: 1F 93 59 DA 9D 91 3A 86 F1 06 FF C2 32 68 D8 1A : ..Y...:.....2h..
0270: 35 A3 A7 D5 24 7D 77 01 40 69 A0 92 AB 06 95 2D : 5...$}w._at_i.....-
0280: FB FF 62 85 37 A0 F5 A5 50 AA 37 D4 95 0A 8F B6 : ..b.7...P.7.....
0290: E9 B2 FF 51 C1 89 24 C3 2E CE E5 B5 16 6C 93 3B : ...Q..$......l.;
02a0: ED FC 9E 5B 08 A0 AA 97 F4 C5 85 A2 17 F9 FF 3E : ...[...........>
02b0: D1 27 FE E0 F1 6F 20 76 87 19 A1 68 3E 70 4F 7A : .'...o v...h>pOz
02c0: E2 B7 6E E1 B5 BC 59 C7 9D FA 5B B5 7A 5A 7E 6F : ..n...Y...[.zZ~o
02d0: 6E 39 DE 40 98 61 BA C3 BE FB 1C 71 01 02 25 C2 : n9.@.a.....q..%.
02e0: 4C 84 56 D0 50 E1 D5 C8 AF 6C CE 6C C4 E4 46 C7 : L.V.P....l.l..F.
02f0: 03 3B AA 2D 5A E0 FC D2 16 C9 8F 40 EC A0 BA 1C : .;.-Z......@....
0300: 3D 73 E3 E0 30 4B 00 55 7E 98 7B 17 6C F6 27 A0 : =s..0K.U~.{.l.'.
0310: D0 DC 0F F4 93 4C 55 F8 DB 43 AC 00 54 07 B1 53 : .....LU..C..T..S
0320: 2C 09 DB 3D 53 E5 52 40 8F F9 18 11 43 89 48 34 : ,..=S.R@....C.H4
0330: 62 25 F3 3E : b%.>
[libssh2] 0.359433 Transport: Packet type 31 received, length=820
[libssh2] 0.359436 Transport: Looking for packet of type: 31
[libssh2] 0.359449 Key Ex: Server's MD5 Fingerprint:
c7:92:4a:e5:00:80:27:eb:48:17:12:51:6a:5c:e8:59
[libssh2] 0.359456 Key Ex: Server's SHA1 Fingerprint:
c9:6c:ce:5a:57:f0:30:33:f0:7a:f9:a5:47:a4:94:7a:24:5d:21:b8
[libssh2] 0.360876 Key Ex: Sending NEWKEYS message
=> libssh2_transport_write plain (1 bytes)
0000: 15 : .
[libssh2] 0.360898 Socket: Sent 16/16 bytes at 0xcc2088
=> libssh2_transport_write send() (16 bytes)
0000: 00 00 00 0C 0A 15 45 B2 DB 6D 68 11 86 45 22 E5 : ......E..mh..E".
[libssh2] 0.360908 Transport: Looking for packet of type: 21
=> libssh2_transport_read() plain (1 bytes)
0000: 15 : .
[libssh2] 0.360922 Transport: Packet type 21 received, length=1
[libssh2] 0.360926 Transport: Looking for packet of type: 21
[libssh2] 0.360929 Key Ex: Received NEWKEYS message
[libssh2] 0.360932 Key Ex: session_id calculated
[libssh2] 0.360954 Key Ex: Client to Server IV and Key calculated
[libssh2] 0.360964 Key Ex: Server to Client IV and Key calculated
[libssh2] 0.360969 Key Ex: Client to Server HMAC Key calculated
[libssh2] 0.360974 Key Ex: Server to Client HMAC Key calculated
[libssh2] 0.360977 Key Ex: Client to Server compression initialized
[libssh2] 0.360979 Key Ex: Server to Client compression initialized
[libssh2] 0.360987 Transport: Requesting userauth service
=> libssh2_transport_write plain (17 bytes)
0000: 05 00 00 00 0C 73 73 68 2D 75 73 65 72 61 75 74 : .....ssh-useraut
0010: 68 : h
[libssh2] 0.361014 Socket: Sent 52/52 bytes at 0xcc2088
=> libssh2_transport_write send() (52 bytes)
0000: 7F F8 F7 E1 26 F2 62 D4 33 0B 14 36 DE A1 5C 39 : ....&.b.3..6..\9
0010: 2E CF 71 F8 2A AF FA 96 57 20 B5 93 5B 6B 99 1C : ..q.*...W ..[k..
0020: BE 47 2A 5D D2 E9 39 48 4C F1 A2 7F 04 D5 DC 24 : .G*]..9HL......$
0030: 36 2F 38 7A : 6/8z
[libssh2] 0.361029 Transport: Looking for packet of type: 6
[libssh2] 0.402694 Socket: Recved 52/16384 bytes to 0xcbe048+0
=> libssh2_transport_read() raw (52 bytes)
0000: A4 FF 8F C4 1E 71 C1 AE C0 92 3C 2B 09 DF 53 A3 : .....q....<+..S.
0010: 0D 4F DB 33 BC B4 D5 CB B5 7F F4 0F BF 52 D0 9F : .O.3.........R..
0020: ED F6 F3 02 69 FD 68 9E A7 42 80 3F C1 0E D1 F0 : ....i.h..B.?....
0030: 65 F0 9E E8 : e...
=> libssh2_transport_read() plain (17 bytes)
0000: 06 00 00 00 0C 73 73 68 2D 75 73 65 72 61 75 74 : .....ssh-useraut
0010: 68 : h
[libssh2] 0.402784 Transport: Packet type 6 received, length=17
[libssh2] 0.402791 Transport: Looking for packet of type: 6
Fingerprint: C9 6C CE 5A 57 F0 30 33 F0 7A F9 A5 47 A4 94 7A 24 5D 21 B8
=> libssh2_transport_write plain (28 bytes)
0000: 32 00 00 00 01 69 00 00 00 0E 73 73 68 2D 63 6F : 2....i....ssh-co
0010: 6E 6E 65 63 74 69 6F 6E 00 00 00 04 : nnection....
=> libssh2_transport_write plain2 (4 bytes)
0000: 6E 6F 6E 65 : none
[libssh2] 0.402893 Socket: Sent 68/68 bytes at 0xcc2088
=> libssh2_transport_write send() (68 bytes)
0000: 2C E6 3A 24 A1 61 8B D7 6D E4 9F A3 EA 85 80 AA : ,.:$.a..m.......
0010: 2B 73 93 B3 51 3B C6 8A 72 79 90 AB 74 AD 1E 98 : +s..Q;..ry..t...
0020: A7 17 AA 13 2C 7C C4 EB AE F3 85 83 E6 A9 8D 4F : ....,|.........O
0030: 35 0B C5 41 B8 F3 11 61 DC 6B 6A DA 3B F6 97 F1 : 5..A...a.kj.;...
0040: 87 FB BE 7A : ...z
[libssh2] 0.402928 Transport: Looking for packet of type: 52
[libssh2] 0.402933 Transport: Looking for packet of type: 51
[libssh2] 0.402940 Failure Event: -37 - Would block requesting userauth list
[libssh2] 0.404328 Transport: Looking for packet of type: 52
[libssh2] 0.404349 Transport: Looking for packet of type: 51
[libssh2] 0.404362 Socket: Recved 52/16384 bytes to 0xcbe048+0
=> libssh2_transport_read() raw (52 bytes)
0000: 80 05 7F EA 5A 9B 47 26 C0 98 AC 07 9D BF CA 0C : ....Z.G&........
0010: EA 0D 97 6C BF 59 31 23 C1 54 28 29 B9 19 30 C9 : ...l.Y1#.T()..0.
0020: 06 DF 9D D1 48 3E F9 E6 DF 60 3F E4 E4 07 03 1F : ....H>...`?.....
0030: 35 A3 20 58 : 5. X
=> libssh2_transport_read() plain (15 bytes)
0000: 33 00 00 00 09 70 75 62 6C 69 63 6B 65 79 00 : 3....publickey.
[libssh2] 0.404443 Transport: Packet type 51 received, length=15
[libssh2] 0.404454 Transport: Looking for packet of type: 52
[libssh2] 0.404462 Transport: Looking for packet of type: 51
[libssh2] 0.404482 Userauth: Permitted auth methods: publickey
Authentication methods: publickey
[libssh2] 0.404525 Userauth: Loading public key file: ~/.ssh/id_rsa.pub
[libssh2] 0.404547 Failure Event: -16 - Unable to open public key file
Authentication by public key failed!
[libssh2] 0.404568 Transport: Disconnecting: reason=11, desc=Normal
Shutdown, Thank you for playing, lang=
=> libssh2_transport_write plain (51 bytes)
0000: 01 00 00 00 0B 00 00 00 26 4E 6F 72 6D 61 6C 20 : ........&Normal
0010: 53 68 75 74 64 6F 77 6E 2C 20 54 68 61 6E 6B 20 : Shutdown, Thank
0020: 79 6F 75 20 66 6F 72 20 70 6C 61 79 69 6E 67 00 : you for playing.
0030: 00 00 00 : ...
=> libssh2_transport_write plain2 (0 bytes)
[libssh2] 0.404675 Socket: Sent 84/84 bytes at 0xcc2088
=> libssh2_transport_write send() (84 bytes)
0000: E4 BC EF 76 3F E2 3A 6D 55 54 C1 21 1B CC 53 3C : ...v?.:mUT.!..S<
0010: 56 C8 04 43 CC 31 14 D2 48 76 9F 20 FE A4 83 3F : V..C.1..Hv. ...?
0020: 57 4B 67 F1 44 0D A6 ED D9 17 02 20 97 55 3C 71 : WKg.D...... .U<q
0030: 59 FE 7A 2B 32 89 1A 7E 80 86 CE 55 28 A1 E3 C2 : Y.z+2..~...U(...
0040: 0E E8 D8 71 C2 8E BD 33 14 22 05 5C CA 22 56 95 : ...q...3.".\."V.
0050: B4 0F 2A A0 : ..*.
[libssh2] 0.404758 Transport: Freeing session resource
[libssh2] 0.404783 Transport: Extra packets left 0
all done!

2012/4/24 Peter Stuge <peter_at_stuge.se>

> Nick Rudnick wrote:
> > First SSH keyfile authentication runs flawless when done in a terminal.
>
> Do you mean "the first time" or "I will list some things, the first
> is that" ?
>
>
> > The server is OpenSSH_5.8p1, built from source for better tracing of
> > the problem.
>
> Where is the EPIPE reported?
>
> Please compile libssh2 with debugging enabled, and call
>
> libssh2_trace(session, ~0);
>
> in the example. Please send the rich debug messages to the mailing
> list. Thanks!
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

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