From libssh2-devel-bounces@cool.haxx.se Tue Jun 28 11:36:04 2016 Return-Path: Received: from www.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id u5S9YXEY029434; Tue, 28 Jun 2016 11:35:58 +0200 Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06:0:0:0:232]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id u5S9YU1W029183 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 28 Jun 2016 11:34:31 +0200 Received: by mail-oi0-x232.google.com with SMTP id u201so14815158oie.0 for ; Tue, 28 Jun 2016 02:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=E7k0V/2s0VVpPOTT/VJWULmVLjbz6+LkM8+RnQddSmE=; b=q83MJ1ArX0wrZaR9dZEjePiDBO1oKDgN4M6VLEJtBVfGpNF583ODSdhWK+LGfyo2mR 8qKT7zp9wE3yD6lOk9bKHzKy5/3aBJbhJTroYwVk60gXUCdsOzCENVbIRYtjzxfF8BQa dWei/lw0V3fFBYG2aIoAf8GugIFl1QDEbtnw+kxv8PpybEINqx6ISC/nN9Ym3R2YYr0/ jxNv8BOTZHrvF1kmb/XkDJ1GokfGhO5iX0POzWcKXd+cDFRT600mtWyCqCs1d5nhg1Ow Xl2mxere+4mlNRaW3SUl98HzLBdFaVguQSR+E9dXK6xLZYhDbFqRO+BdKDuIShwe5KLI ovRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E7k0V/2s0VVpPOTT/VJWULmVLjbz6+LkM8+RnQddSmE=; b=MVLDjaglGH/nPs9JO1O0L9JJBhtLFrPdi/s+1Ytgi0fLx+O9ZrA4NP5j0tf7xbFWfS wXU6RWkMiytjmeoTkSUm/btG7lX++y4nf7o27sF0UyqmWilIM/3VZxnx9oywFnAhGC/z Wax6JsbLVS8VDtBWqECAMlK19p/NMQ3GKIpMTtAvWeSFUb2X7/ei4i/hZgbkbPVPq73X OdipQt7HZuG8FkgaKY2/yklNJGPUPmIQmF62CLLahgp26Ki9lVWhhTVTmzJovMpXV4xr Mg4O8C7T9Ahrd/1DuFJ7t2/Mp5+/TSwlZS2QnQe8wIz0nGxjb1jdMCD1tjxpbiggssEU veag== X-Gm-Message-State: ALyK8tLSR8VJqiit4vRVdLPHhX0+/33ko7EoMbkyreFCrK6jbE95gh0rp5cALbdAIbNEWeuvYXQM09RypShbMA== X-Received: by 10.157.10.4 with SMTP id 4mr1110261otg.13.1467106463432; Tue, 28 Jun 2016 02:34:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.134.201 with HTTP; Tue, 28 Jun 2016 02:34:04 -0700 (PDT) From: Moti Avrahami Date: Tue, 28 Jun 2016 12:34:04 +0300 Message-ID: Subject: Failed to exchange encryption keys when connect to Debian To: libssh2 development X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============1658612201==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============1658612201== Content-Type: multipart/alternative; boundary=001a113acb0099c7ff053653579f --001a113acb0099c7ff053653579f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I failed to connect to the SFTP server =E2=80=93 SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u4. I am using curl.exe (7.47.1) with libssh2 (1.7.0) and openSSL (0.9.8) and get the error: [libssh2] 0.506250 Failure Event: -5 - Unable to exchange encryption keys * Failure establishing ssh session Do you know what can be the cause? Maybe this doesn=E2=80=99t support the libssh2 algorithms? Thanks, Moti By the way, this is the full trace: [libssh2] 0.459375 Conn: Setting blocking mode OFF [libssh2] 0.459375 Transport: session_startup for socket 156 [libssh2] 0.459375 Transport: Sending Banner: SSH-2.0-libssh2_1.7.0 [libssh2] 0.459375 Socket: Sent 23/23 bytes at 004DA6C0+0 [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Socket: Recved 1 bytes banner [libssh2] 0.537500 Transport: Received Banner: SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u4 [libssh2] 0.615625 Key Ex: Sent KEX: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,dif= fie-hellman-group14-sha1,diffie-hellman-group1-sha1 [libssh2] 0.615625 Key Ex: Sent HOSTKEY: ssh-rsa,ssh-dss [libssh2] 0.615625 Key Ex: Sent CRYPT_CS: aes256-cbc, rijndael-cbc@lysator.liu.se ,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [libssh2] 0.615625 Key Ex: Sent CRYPT_SC: aes256-cbc, rijndael-cbc@lysator.liu.se ,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [libssh2] 0.615625 Key Ex: Sent MAC_CS: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hma= c-ripemd160, hmac-ripemd160@openssh.com [libssh2] 0.615625 Key Ex: Sent MAC_SC: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hma= c-ripemd160, hmac-ripemd160@openssh.com [libssh2] 0.615625 Key Ex: Sent COMP_CS: none [libssh2] 0.615625 Key Ex: Sent COMP_SC: none [libssh2] 0.615625 Key Ex: Sent LANG_CS: [libssh2] 0.615625 Key Ex: Sent LANG_SC: =3D> libssh2_transport_write plain (663 bytes) 0000: 14 30 B0 BB FA 02 DA BC 09 75 DA 15 A5 20 E6 B2 : .0=C2=B0=C2=BB=D7= =AA..=C2=BC u..=C2=A5 =D7=96=C2=B2 0010: 80 00 00 00 7E 64 69 66 66 69 65 2D 68 65 6C 6C : ....~diffie-hell 0020: 6D 61 6E 2D 67 72 6F 75 70 2D 65 78 63 68 61 6E : man-group-exchan 0030: 67 65 2D 73 68 61 32 35 36 2C 64 69 66 66 69 65 : ge-sha256,diffie 0040: 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 2D 65 : -hellman-group-e 0050: 78 63 68 61 6E 67 65 2D 73 68 61 31 2C 64 69 66 : xchange-sha1,dif 0060: 66 69 65 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 : fie-hellman-grou 0070: 70 31 34 2D 73 68 61 31 2C 64 69 66 66 69 65 2D : p14-sha1,diffie- 0080: 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 31 2D 73 : hellman-group1-s 0090: 68 61 31 00 00 00 0F 73 73 68 2D 72 73 61 2C 73 : ha1....ssh-rsa,s 00a0: 73 68 2D 64 73 73 00 00 00 71 61 65 73 32 35 36 : sh-dss...qaes256 00b0: 2D 63 62 63 2C 72 69 6A 6E 64 61 65 6C 2D 63 62 : -cbc,rijndael-cb 00c0: 63 40 6C 79 73 61 74 6F 72 2E 6C 69 75 2E 73 65 : c@lysator.liu.se 00d0: 2C 61 65 73 31 39 32 2D 63 62 63 2C 61 65 73 31 : ,aes192-cbc,aes1 00e0: 32 38 2D 63 62 63 2C 62 6C 6F 77 66 69 73 68 2D : 28-cbc,blowfish- 00f0: 63 62 63 2C 61 72 63 66 6F 75 72 31 32 38 2C 61 : cbc,arcfour128,a 0100: 72 63 66 6F 75 72 2C 63 61 73 74 31 32 38 2D 63 : rcfour,cast128-c 0110: 62 63 2C 33 64 65 73 2D 63 62 63 00 00 00 71 61 : bc,3des-cbc...qa 0120: 65 73 32 35 36 2D 63 62 63 2C 72 69 6A 6E 64 61 : es256-cbc,rijnda 0130: 65 6C 2D 63 62 63 40 6C 79 73 61 74 6F 72 2E 6C : el-cbc@lysator.l 0140: 69 75 2E 73 65 2C 61 65 73 31 39 32 2D 63 62 63 : iu.se,aes192-cbc 0150: 2C 61 65 73 31 32 38 2D 63 62 63 2C 62 6C 6F 77 : ,aes128-cbc,blow 0160: 66 69 73 68 2D 63 62 63 2C 61 72 63 66 6F 75 72 : fish-cbc,arcfour 0170: 31 32 38 2C 61 72 63 66 6F 75 72 2C 63 61 73 74 : 128,arcfour,cast 0180: 31 32 38 2D 63 62 63 2C 33 64 65 73 2D 63 62 63 : 128-cbc,3des-cbc 0190: 00 00 00 71 68 6D 61 63 2D 73 68 61 32 2D 32 35 : ...qhmac-sha2-25 01a0: 36 2C 68 6D 61 63 2D 73 68 61 32 2D 35 31 32 2C : 6,hmac-sha2-512, 01b0: 68 6D 61 63 2D 73 68 61 31 2C 68 6D 61 63 2D 73 : hmac-sha1,hmac-s 01c0: 68 61 31 2D 39 36 2C 68 6D 61 63 2D 6D 64 35 2C : ha1-96,hmac-md5, 01d0: 68 6D 61 63 2D 6D 64 35 2D 39 36 2C 68 6D 61 63 : hmac-md5-96,hmac 01e0: 2D 72 69 70 65 6D 64 31 36 30 2C 68 6D 61 63 2D : -ripemd160,hmac- 01f0: 72 69 70 65 6D 64 31 36 30 40 6F 70 65 6E 73 73 : ripemd160@openss 0200: 68 2E 63 6F 6D 00 00 00 71 68 6D 61 63 2D 73 68 : h.com...qhmac-sh 0210: 61 32 2D 32 35 36 2C 68 6D 61 63 2D 73 68 61 32 : a2-256,hmac-sha2 0220: 2D 35 31 32 2C 68 6D 61 63 2D 73 68 61 31 2C 68 : -512,hmac-sha1,h 0230: 6D 61 63 2D 73 68 61 31 2D 39 36 2C 68 6D 61 63 : mac-sha1-96,hmac 0240: 2D 6D 64 35 2C 68 6D 61 63 2D 6D 64 35 2D 39 36 : -md5,hmac-md5-96 0250: 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 2C : ,hmac-ripemd160, 0260: 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 40 6F : hmac-ripemd160@o 0270: 70 65 6E 73 73 68 2E 63 6F 6D 00 00 00 04 6E 6F : penssh.com....no 0280: 6E 65 00 00 00 04 6E 6F 6E 65 00 00 00 00 00 00 : ne....none...... 0290: 00 00 00 00 00 00 00 : ....... [libssh2] 0.615625 Socket: Sent 832/832 bytes at 021D393C =3D> libssh2_transport_write send() (832 bytes) 0000: 00 00 03 3C A4 14 30 B0 BB FA 02 DA BC 09 75 DA : ...<..0=C2=B0=C2= =BB=D7=AA..=C2=BC u. 0010: 15 A5 20 E6 B2 80 00 00 00 7E 64 69 66 66 69 65 : .=C2=A5 =D7=96=C2= =B2....~diffie 0020: 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F 75 70 2D 65 : -hellman-group-e 0030: 78 63 68 61 6E 67 65 2D 73 68 61 32 35 36 2C 64 : xchange-sha256,d 0040: 69 66 66 69 65 2D 68 65 6C 6C 6D 61 6E 2D 67 72 : iffie-hellman-gr 0050: 6F 75 70 2D 65 78 63 68 61 6E 67 65 2D 73 68 61 : oup-exchange-sha 0060: 31 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 6E : 1,diffie-hellman 0070: 2D 67 72 6F 75 70 31 34 2D 73 68 61 31 2C 64 69 : -group14-sha1,di 0080: 66 66 69 65 2D 68 65 6C 6C 6D 61 6E 2D 67 72 6F : ffie-hellman-gro 0090: 75 70 31 2D 73 68 61 31 00 00 00 0F 73 73 68 2D : up1-sha1....ssh- 00a0: 72 73 61 2C 73 73 68 2D 64 73 73 00 00 00 71 61 : rsa,ssh-dss...qa 00b0: 65 73 32 35 36 2D 63 62 63 2C 72 69 6A 6E 64 61 : es256-cbc,rijnda 00c0: 65 6C 2D 63 62 63 40 6C 79 73 61 74 6F 72 2E 6C : el-cbc@lysator.l 00d0: 69 75 2E 73 65 2C 61 65 73 31 39 32 2D 63 62 63 : iu.se,aes192-cbc 00e0: 2C 61 65 73 31 32 38 2D 63 62 63 2C 62 6C 6F 77 : ,aes128-cbc,blow 00f0: 66 69 73 68 2D 63 62 63 2C 61 72 63 66 6F 75 72 : fish-cbc,arcfour 0100: 31 32 38 2C 61 72 63 66 6F 75 72 2C 63 61 73 74 : 128,arcfour,cast 0110: 31 32 38 2D 63 62 63 2C 33 64 65 73 2D 63 62 63 : 128-cbc,3des-cbc 0120: 00 00 00 71 61 65 73 32 35 36 2D 63 62 63 2C 72 : ...qaes256-cbc,r 0130: 69 6A 6E 64 61 65 6C 2D 63 62 63 40 6C 79 73 61 : ijndael-cbc@lysa 0140: 74 6F 72 2E 6C 69 75 2E 73 65 2C 61 65 73 31 39 : tor.liu.se,aes19 0150: 32 2D 63 62 63 2C 61 65 73 31 32 38 2D 63 62 63 : 2-cbc,aes128-cbc 0160: 2C 62 6C 6F 77 66 69 73 68 2D 63 62 63 2C 61 72 : ,blowfish-cbc,ar 0170: 63 66 6F 75 72 31 32 38 2C 61 72 63 66 6F 75 72 : cfour128,arcfour 0180: 2C 63 61 73 74 31 32 38 2D 63 62 63 2C 33 64 65 : ,cast128-cbc,3de 0190: 73 2D 63 62 63 00 00 00 71 68 6D 61 63 2D 73 68 : s-cbc...qhmac-sh 01a0: 61 32 2D 32 35 36 2C 68 6D 61 63 2D 73 68 61 32 : a2-256,hmac-sha2 01b0: 2D 35 31 32 2C 68 6D 61 63 2D 73 68 61 31 2C 68 : -512,hmac-sha1,h 01c0: 6D 61 63 2D 73 68 61 31 2D 39 36 2C 68 6D 61 63 : mac-sha1-96,hmac 01d0: 2D 6D 64 35 2C 68 6D 61 63 2D 6D 64 35 2D 39 36 : -md5,hmac-md5-96 01e0: 2C 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 2C : ,hmac-ripemd160, 01f0: 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 30 40 6F : hmac-ripemd160@o 0200: 70 65 6E 73 73 68 2E 63 6F 6D 00 00 00 71 68 6D : penssh.com...qhm 0210: 61 63 2D 73 68 61 32 2D 32 35 36 2C 68 6D 61 63 : ac-sha2-256,hmac 0220: 2D 73 68 61 32 2D 35 31 32 2C 68 6D 61 63 2D 73 : -sha2-512,hmac-s 0230: 68 61 31 2C 68 6D 61 63 2D 73 68 61 31 2D 39 36 : ha1,hmac-sha1-96 0240: 2C 68 6D 61 63 2D 6D 64 35 2C 68 6D 61 63 2D 6D : ,hmac-md5,hmac-m 0250: 64 35 2D 39 36 2C 68 6D 61 63 2D 72 69 70 65 6D : d5-96,hmac-ripem 0260: 64 31 36 30 2C 68 6D 61 63 2D 72 69 70 65 6D 64 : d160,hmac-ripemd 0270: 31 36 30 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 : 160@openssh.com. 0280: 00 00 04 6E 6F 6E 65 00 00 00 04 6E 6F 6E 65 00 : ...none....none. 0290: 00 00 00 00 00 00 00 00 00 00 00 00 44 EC 14 45 : ............D=D7= =9C.E 02a0: D8 CB 8F 55 8E AA 05 C1 1B 5E F1 C6 CF 83 68 52 : =D7=B4..U.=C3=97..= .^=D7=A1..=C6=92hR 02b0: 3A 38 3A FE 39 4E C1 98 A2 BA 7F D0 B4 C4 A9 7C : :8:.9N..=C2=A2=C3= =B7.=D7=80=C2=B4.=C2=A9| 02c0: 24 8F 3F 73 40 4D DB 09 D0 C5 6E F4 9B 7E 51 7D : $.?s@M. =D7=80.n= =D7=A4=E2=80=BA~Q} 02d0: 26 67 F7 C3 F3 00 3B 4E AE 5D 50 28 4E D4 A6 6A : &g=D7=A7.=D7=A3.;N= =C2=AE]P(N=D7=B0=C2=A6j 02e0: 26 13 3C AF C1 22 17 53 57 05 7E 2E B2 37 79 97 : &.<=C2=AF.".SW.~.= =C2=B27y=E2=80=94 02f0: 19 AA C8 F5 C1 92 70 63 64 F5 F2 F8 D5 88 18 F8 : .=C3=97.=D7=A5.=E2= =80=99pcd=D7=A5=D7=A2=D7=A8=D7=B1..=D7=A8 0300: 86 3C 7C 58 D4 8D 2C 1E 44 EF CC B7 58 68 B4 DE : =E2=80=A0<|X=D7=B0= .,.D=D7=9F.=C2=B7Xh=C2=B4. 0310: 44 21 D9 9C D0 8D AE 9C EA DB 4D 1C 6A F2 FD 46 : D!..=D7=80.=C2=AE.= =D7=9A.M.j=D7=A2.F 0320: 7F A3 1B 45 23 FA 32 CA 7E D3 A6 B8 B4 CC CB 1B : .=C2=A3.E#=D7=AA2.= ~=D7=83=C2=A6=C2=B8=C2=B4... 0330: CD 6E 01 D1 3B 6D 65 B8 BE 69 12 D4 38 E7 08 8E : .n..;me=C2=B8=C2= =BEi.=D7=B08=D7=97.. [libssh2] 0.615625 Transport: Looking for packet of type: 20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[libssh2] 0.693750 Socket: Recved 392/16384 bytes to 021CF914+0 =3D> libssh2_transport_read() raw (392 bytes) 0000: 00 00 01 84 07 14 AA 25 A8 63 3D 62 7D 7A 1F AC : ...=E2=80=9E..=C3= =97%=C2=A8c=3Db}z.=C2=AC 0010: 96 7D 83 EA 31 9C 00 00 00 5D 65 63 64 68 2D 73 : =E2=80=93}=C6=92= =D7=9A1....]ecdh-s 0020: 68 61 32 2D 6E 69 73 74 70 35 32 31 2C 65 63 64 : ha2-nistp521,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 32 : ecdh-sha2-nistp2 0050: 35 36 2C 64 69 66 66 69 65 2D 68 65 6C 6C 6D 61 : 56,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 00 00 00 23 73 73 68 2D 72 : -sha256...#ssh-r 0080: 73 61 2C 73 73 68 2D 64 73 73 2C 65 63 64 73 61 : sa,ssh-dss,ecdsa 0090: 2D 73 68 61 32 2D 6E 69 73 74 70 35 32 31 00 00 : -sha2-nistp521.. 00a0: 00 20 61 65 73 32 35 36 2D 63 74 72 2C 61 65 73 : . aes256-ctr,aes 00b0: 31 39 32 2D 63 74 72 2C 61 65 73 31 32 38 2D 63 : 192-ctr,aes128-c 00c0: 74 72 00 00 00 20 61 65 73 32 35 36 2D 63 74 72 : tr... aes256-ctr 00d0: 2C 61 65 73 31 39 32 2D 63 74 72 2C 61 65 73 31 : ,aes192-ctr,aes1 00e0: 32 38 2D 63 74 72 00 00 00 2A 68 6D 61 63 2D 72 : 28-ctr...*hmac-r 00f0: 69 70 65 6D 64 31 36 30 2C 68 6D 61 63 2D 73 68 : ipemd160,hmac-sh 0100: 61 32 2D 32 35 36 2C 68 6D 61 63 2D 73 68 61 32 : a2-256,hmac-sha2 0110: 2D 35 31 32 00 00 00 2A 68 6D 61 63 2D 72 69 70 : -512...*hmac-rip 0120: 65 6D 64 31 36 30 2C 68 6D 61 63 2D 73 68 61 32 : emd160,hmac-sha2 0130: 2D 32 35 36 2C 68 6D 61 63 2D 73 68 61 32 2D 35 : -256,hmac-sha2-5 0140: 31 32 00 00 00 15 6E 6F 6E 65 2C 7A 6C 69 62 40 : 12....none,zlib@ 0150: 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 00 00 15 6E : openssh.com....n 0160: 6F 6E 65 2C 7A 6C 69 62 40 6F 70 65 6E 73 73 68 : one,zlib@openssh 0170: 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 : .com............ 0180: 00 00 00 00 00 00 00 00 : ........ =3D> libssh2_transport_read() plain (380 bytes) 0000: 14 AA 25 A8 63 3D 62 7D 7A 1F AC 96 7D 83 EA 31 : .=C3=97%=C2=A8c=3D= b}z.=C2=AC=E2=80=93}=C6=92=D7=9A1 0010: 9C 00 00 00 5D 65 63 64 68 2D 73 68 61 32 2D 6E : ....]ecdh-sha2-n 0020: 69 73 74 70 35 32 31 2C 65 63 64 68 2D 73 68 61 : istp521,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 32 35 36 2C 64 69 : sha2-nistp256,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 00 00 00 23 73 73 68 2D 72 73 61 2C 73 73 : 56...#ssh-rsa,ss 0080: 68 2D 64 73 73 2C 65 63 64 73 61 2D 73 68 61 32 : h-dss,ecdsa-sha2 0090: 2D 6E 69 73 74 70 35 32 31 00 00 00 20 61 65 73 : -nistp521... aes 00a0: 32 35 36 2D 63 74 72 2C 61 65 73 31 39 32 2D 63 : 256-ctr,aes192-c 00b0: 74 72 2C 61 65 73 31 32 38 2D 63 74 72 00 00 00 : tr,aes128-ctr... 00c0: 20 61 65 73 32 35 36 2D 63 74 72 2C 61 65 73 31 : aes256-ctr,aes1 00d0: 39 32 2D 63 74 72 2C 61 65 73 31 32 38 2D 63 74 : 92-ctr,aes128-ct 00e0: 72 00 00 00 2A 68 6D 61 63 2D 72 69 70 65 6D 64 : r...*hmac-ripemd 00f0: 31 36 30 2C 68 6D 61 63 2D 73 68 61 32 2D 32 35 : 160,hmac-sha2-25 0100: 36 2C 68 6D 61 63 2D 73 68 61 32 2D 35 31 32 00 : 6,hmac-sha2-512. 0110: 00 00 2A 68 6D 61 63 2D 72 69 70 65 6D 64 31 36 : ..*hmac-ripemd16 0120: 30 2C 68 6D 61 63 2D 73 68 61 32 2D 32 35 36 2C : 0,hmac-sha2-256, 0130: 68 6D 61 63 2D 73 68 61 32 2D 35 31 32 00 00 00 : hmac-sha2-512... 0140: 15 6E 6F 6E 65 2C 7A 6C 69 62 40 6F 70 65 6E 73 : .none,zlib@opens 0150: 73 68 2E 63 6F 6D 00 00 00 15 6E 6F 6E 65 2C 7A : sh.com....none,z 0160: 6C 69 62 40 6F 70 65 6E 73 73 68 2E 63 6F 6D 00 : lib@openssh.com. 0170: 00 00 00 00 00 00 00 00 00 00 00 00 : ............ [libssh2] 0.693750 Transport: Packet type 20 received, length=3D380 [libssh2] 0.693750 Transport: Looking for packet of type: 20 [libssh2] 0.693750 Failure Event: -5 - Unable to exchange encryption keys * Failure establishing ssh session [libssh2] 0.693750 Transport: Freeing session resource [libssh2] 0.693750 Transport: Extra packets left 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 * Closing connection 0 curl: (2) Failure establishing ssh session --001a113acb0099c7ff053653579f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

=C2=A0

I failed to connect to the SFTP server =E2=80=93 SSH= -2.0-OpenSSH_6.0p1 Debian-4+deb7u4.

I am using curl.exe (7.47.1) with libssh2 (1.7.0) an= d openSSL (0.9.8) and get the error:

[libssh2] 0.506250 Failure Event: -5 - Unable to exc= hange encryption keys

* Failure establishing ssh session

=C2=A0

Do you know what can be the cause?

Maybe this doesn=E2=80=99t support the libssh2 algor= ithms?

=C2=A0

Thanks,

Moti

=C2=A0

By the way, this is the full trace:

[libssh2] 0.459375 Conn: Setting blocking mode OFF

[libssh2] 0.459375 Transport: session_startup for so= cket 156

[libssh2] 0.459375 Transport: Sending Banner: SSH-2.0-libssh2_1.7.0

[libssh2] 0.459375 Socket: Sent 23/23 bytes at 004DA= 6C0+0

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Socket: Recved 1 bytes banner

[libssh2] 0.537500 Transport: Received Banner: SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u4

[libssh2] 0.615625 Key Ex: Sent KEX: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,dif= fie-hellman-group14-sha1,diffie-hellman-group1-sha1

[libssh2] 0.615625 Key Ex: Sent HOSTKEY: ssh-rsa,ssh= -dss

[libssh2] 0.615625 Key Ex: Sent CRYPT_CS: aes256-cbc,rijndael-cbc@lysa= tor.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast12= 8-cbc,3des-cbc

[libssh2] 0.615625 Key Ex: Sent CRYPT_SC: aes256-cbc,rijndael-cbc@lysa= tor.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast12= 8-cbc,3des-cbc

[libssh2] 0.615625 Key Ex: Sent MAC_CS: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hma= c-ripemd160,hmac-ripemd160@op= enssh.com

[libssh2] 0.615625 Key Ex: Sent MAC_SC: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hma= c-ripemd160,hmac-ripemd160@op= enssh.com

[libssh2] 0.615625 Key Ex: Sent COMP_CS: none

[libssh2] 0.615625 Key Ex: Sent COMP_SC: none

[libssh2] 0.615625 Key Ex: Sent LANG_CS:

[libssh2] 0.615625 Key Ex: Sent LANG_SC:

=3D> libssh2_transport_write plain (663 bytes)

0000: 14 30 B0 BB FA 02 DA BC=C2=A0 09 75 DA 15 A5 2= 0 E6 B2 : .0=C2=B0=C2=BB=D7=AA<= /span>..=C2=BC=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= u..=C2=A5 =D7=96=C2=B2

0010: 80 00 00 00 7E 64 69 66=C2=A0 66 69 65 2D 68 6= 5 6C 6C : ....~diffie-hell

0020: 6D 61 6E 2D 67 72 6F 75=C2=A0 70 2D 65 78 63 6= 8 61 6E : man-group-exchan

0030: 67 65 2D 73 68 61 32 35=C2=A0 36 2C 64 69 66 6= 6 69 65 : ge-sha256,diffie

0040: 2D 68 65 6C 6C 6D 61 6E=C2=A0 2D 67 72 6F 75 7= 0 2D 65 : -hellman-group-e

0050: 78 63 68 61 6E 67 65 2D=C2=A0 73 68 61 31 2C 6= 4 69 66 : xchange-sha1,dif

0060: 66 69 65 2D 68 65 6C 6C=C2=A0 6D 61 6E 2D 67 7= 2 6F 75 : fie-hellman-grou

0070: 70 31 34 2D 73 68 61 31=C2=A0 2C 64 69 66 66 6= 9 65 2D : p14-sha1,diffie-

0080: 68 65 6C 6C 6D 61 6E 2D=C2=A0 67 72 6F 75 70 3= 1 2D 73 : hellman-group1-s

0090: 68 61 31 00 00 00 0F 73=C2=A0 73 68 2D 72 73 6= 1 2C 73 : ha1....ssh-rsa,s

00a0: 73 68 2D 64 73 73 00 00=C2=A0 00 71 61 65 73 3= 2 35 36 : sh-dss...qaes256

00b0: 2D 63 62 63 2C 72 69 6A=C2=A0 6E 64 61 65 6C 2= D 63 62 : -cbc,rijndael-cb

00c0: 63 40 6C 79 73 61 74 6F=C2=A0 72 2E 6C 69 75 2= E 73 65 : c@lysator.liu.se

00d0: 2C 61 65 73 31 39 32 2D=C2=A0 63 62 63 2C 61 6= 5 73 31 : ,aes192-cbc,aes1

00e0: 32 38 2D 63 62 63 2C 62=C2=A0 6C 6F 77 66 69 7= 3 68 2D : 28-cbc,blowfish-

00f0: 63 62 63 2C 61 72 63 66=C2=A0 6F 75 72 31 32 3= 8 2C 61 : cbc,arcfour128,a

0100: 72 63 66 6F 75 72 2C 63=C2=A0 61 73 74 31 32 3= 8 2D 63 : rcfour,cast128-c

0110: 62 63 2C 33 64 65 73 2D=C2=A0 63 62 63 00 00 0= 0 71 61 : bc,3des-cbc...qa

0120: 65 73 32 35 36 2D 63 62=C2=A0 63 2C 72 69 6A 6= E 64 61 : es256-cbc,rijnda

0130: 65 6C 2D 63 62 63 40 6C=C2=A0 79 73 61 74 6F 7= 2 2E 6C : el-cbc@lysator.l

0140: 69 75 2E 73 65 2C 61 65=C2=A0 73 31 39 32 2D 6= 3 62 63 : iu.se,aes192-cbc

0150: 2C 61 65 73 31 32 38 2D=C2=A0 63 62 63 2C 62 6= C 6F 77 : ,aes128-cbc,blow

0160: 66 69 73 68 2D 63 62 63=C2=A0 2C 61 72 63 66 6= F 75 72 : fish-cbc,arcfour

0170: 31 32 38 2C 61 72 63 66=C2=A0 6F 75 72 2C 63 6= 1 73 74 : 128,arcfour,cast

0180: 31 32 38 2D 63 62 63 2C=C2=A0 33 64 65 73 2D 6= 3 62 63 : 128-cbc,3des-cbc

0190: 00 00 00 71 68 6D 61 63=C2=A0 2D 73 68 61 32 2= D 32 35 : ...qhmac-sha2-25

01a0: 36 2C 68 6D 61 63 2D 73=C2=A0 68 61 32 2D 35 3= 1 32 2C : 6,hmac-sha2-512,

01b0: 68 6D 61 63 2D 73 68 61=C2=A0 31 2C 68 6D 61 6= 3 2D 73 : hmac-sha1,hmac-s

01c0: 68 61 31 2D 39 36 2C 68=C2=A0 6D 61 63 2D 6D 6= 4 35 2C : ha1-96,hmac-md5,

01d0: 68 6D 61 63 2D 6D 64 35=C2=A0 2D 39 36 2C 68 6= D 61 63 : hmac-md5-96,hmac

01e0: 2D 72 69 70 65 6D 64 31=C2=A0 36 30 2C 68 6D 6= 1 63 2D : -ripemd160,hmac-

01f0: 72 69 70 65 6D 64 31 36=C2=A0 30 40 6F 70 65 6= E 73 73 : ripemd160@openss

0200: 68 2E 63 6F 6D 00 00 00=C2=A0 71 68 6D 61 63 2= D 73 68 : h.com...qhmac-sh

0210: 61 32 2D 32 35 36 2C 68=C2=A0 6D 61 63 2D 73 6= 8 61 32 : a2-256,hmac-sha2

0220: 2D 35 31 32 2C 68 6D 61=C2=A0 63 2D 73 68 61 3= 1 2C 68 : -512,hmac-sha1,h

0230: 6D 61 63 2D 73 68 61 31=C2=A0 2D 39 36 2C 68 6= D 61 63 : mac-sha1-96,hmac

0240: 2D 6D 64 35 2C 68 6D 61=C2=A0 63 2D 6D 64 35 2= D 39 36 : -md5,hmac-md5-96

0250: 2C 68 6D 61 63 2D 72 69=C2=A0 70 65 6D 64 31 3= 6 30 2C : ,hmac-ripemd160,

0260: 68 6D 61 63 2D 72 69 70=C2=A0 65 6D 64 31 36 3= 0 40 6F : hmac-ripemd160@o

0270: 70 65 6E 73 73 68 2E 63=C2=A0 6F 6D 00 00 00 0= 4 6E 6F : penssh.com....no

0280: 6E 65 00 00 00 04 6E 6F=C2=A0 6E 65 00 00 00 0= 0 00 00 : ne....none......

0290: 00 00 00 00 00 00 00=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : ...= ....

[libssh2] 0.615625 Socket: Sent 832/832 bytes at 021= D393C

=3D> libssh2_transport_write send() (832 bytes)

0000: 00 00 03 3C A4 14 30 B0=C2=A0 BB FA 02 DA BC 0= 9 75 DA : ...<..0=C2=B0=C2=BB=D7=AA..=C2=BC= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 u.

0010: 15 A5 20 E6 B2 80 00 00=C2=A0 00 7E 64 69 66 6= 6 69 65 : .=C2=A5 =D7=96=C2=B2<= /span>....~diffie

0020: 2D 68 65 6C 6C 6D 61 6E=C2=A0 2D 67 72 6F 75 7= 0 2D 65 : -hellman-group-e

0030: 78 63 68 61 6E 67 65 2D=C2=A0 73 68 61 32 35 3= 6 2C 64 : xchange-sha256,d

0040: 69 66 66 69 65 2D 68 65=C2=A0 6C 6C 6D 61 6E 2= D 67 72 : iffie-hellman-gr

0050: 6F 75 70 2D 65 78 63 68=C2=A0 61 6E 67 65 2D 7= 3 68 61 : oup-exchange-sha

0060: 31 2C 64 69 66 66 69 65=C2=A0 2D 68 65 6C 6C 6= D 61 6E : 1,diffie-hellman

0070: 2D 67 72 6F 75 70 31 34=C2=A0 2D 73 68 61 31 2= C 64 69 : -group14-sha1,di

0080: 66 66 69 65 2D 68 65 6C=C2=A0 6C 6D 61 6E 2D 6= 7 72 6F : ffie-hellman-gro

0090: 75 70 31 2D 73 68 61 31=C2=A0 00 00 00 0F 73 7= 3 68 2D : up1-sha1....ssh-

00a0: 72 73 61 2C 73 73 68 2D=C2=A0 64 73 73 00 00 0= 0 71 61 : rsa,ssh-dss...qa

00b0: 65 73 32 35 36 2D 63 62=C2=A0 63 2C 72 69 6A 6= E 64 61 : es256-cbc,rijnda

00c0: 65 6C 2D 63 62 63 40 6C=C2=A0 79 73 61 74 6F 7= 2 2E 6C : el-cbc@lysator.l

00d0: 69 75 2E 73 65 2C 61 65=C2=A0 73 31 39 32 2D 6= 3 62 63 : iu.se,aes192-cbc

00e0: 2C 61 65 73 31 32 38 2D=C2=A0 63 62 63 2C 62 6= C 6F 77 : ,aes128-cbc,blow

00f0: 66 69 73 68 2D 63 62 63=C2=A0 2C 61 72 63 66 6= F 75 72 : fish-cbc,arcfour

0100: 31 32 38 2C 61 72 63 66=C2=A0 6F 75 72 2C 63 6= 1 73 74 : 128,arcfour,cast

0110: 31 32 38 2D 63 62 63 2C=C2=A0 33 64 65 73 2D 6= 3 62 63 : 128-cbc,3des-cbc

0120: 00 00 00 71 61 65 73 32=C2=A0 35 36 2D 63 62 6= 3 2C 72 : ...qaes256-cbc,r

0130: 69 6A 6E 64 61 65 6C 2D=C2=A0 63 62 63 40 6C 7= 9 73 61 : ijndael-cbc@lysa

0140: 74 6F 72 2E 6C 69 75 2E=C2=A0 73 65 2C 61 65 7= 3 31 39 : tor.liu.se,aes19

0150: 32 2D 63 62 63 2C 61 65=C2=A0 73 31 32 38 2D 6= 3 62 63 : 2-cbc,aes128-cbc

0160: 2C 62 6C 6F 77 66 69 73=C2=A0 68 2D 63 62 63 2= C 61 72 : ,blowfish-cbc,ar

0170: 63 66 6F 75 72 31 32 38=C2=A0 2C 61 72 63 66 6= F 75 72 : cfour128,arcfour

0180: 2C 63 61 73 74 31 32 38=C2=A0 2D 63 62 63 2C 3= 3 64 65 : ,cast128-cbc,3de

0190: 73 2D 63 62 63 00 00 00=C2=A0 71 68 6D 61 63 2= D 73 68 : s-cbc...qhmac-sh

01a0: 61 32 2D 32 35 36 2C 68=C2=A0 6D 61 63 2D 73 6= 8 61 32 : a2-256,hmac-sha2

01b0: 2D 35 31 32 2C 68 6D 61=C2=A0 63 2D 73 68 61 3= 1 2C 68 : -512,hmac-sha1,h

01c0: 6D 61 63 2D 73 68 61 31=C2=A0 2D 39 36 2C 68 6= D 61 63 : mac-sha1-96,hmac

01d0: 2D 6D 64 35 2C 68 6D 61=C2=A0 63 2D 6D 64 35 2= D 39 36 : -md5,hmac-md5-96

01e0: 2C 68 6D 61 63 2D 72 69=C2=A0 70 65 6D 64 31 3= 6 30 2C : ,hmac-ripemd160,

01f0: 68 6D 61 63 2D 72 69 70=C2=A0 65 6D 64 31 36 3= 0 40 6F : hmac-ripemd160@o

0200: 70 65 6E 73 73 68 2E 63=C2=A0 6F 6D 00 00 00 7= 1 68 6D : penssh.com...qhm

0210: 61 63 2D 73 68 61 32 2D=C2=A0 32 35 36 2C 68 6= D 61 63 : ac-sha2-256,hmac

0220: 2D 73 68 61 32 2D 35 31=C2=A0 32 2C 68 6D 61 6= 3 2D 73 : -sha2-512,hmac-s

0230: 68 61 31 2C 68 6D 61 63=C2=A0 2D 73 68 61 31 2= D 39 36 : ha1,hmac-sha1-96

0240: 2C 68 6D 61 63 2D 6D 64=C2=A0 35 2C 68 6D 61 6= 3 2D 6D : ,hmac-md5,hmac-m

0250: 64 35 2D 39 36 2C 68 6D=C2=A0 61 63 2D 72 69 7= 0 65 6D : d5-96,hmac-ripem

0260: 64 31 36 30 2C 68 6D 61=C2=A0 63 2D 72 69 70 6= 5 6D 64 : d160,hmac-ripemd

0270: 31 36 30 40 6F 70 65 6E=C2=A0 73 73 68 2E 63 6= F 6D 00 : 160@openssh.com.

0280: 00 00 04 6E 6F 6E 65 00=C2=A0 00 00 04 6E 6F 6= E 65 00 : ...none....none.

0290: 00 00 00 00 00 00 00 00=C2=A0 00 00 00 00 44 E= C 14 45 : ............D=D7=9C.E

02a0: D8 CB 8F 55 8E AA 05 C1=C2=A0 1B 5E F1 C6 CF 8= 3 68 52 : =D7=B4..U.=C3= =97...^=D7=A1..=C6=92hR

02b0: 3A 38 3A FE 39 4E C1 98=C2=A0 A2 BA 7F D0 B4 C= 4 A9 7C : :8:.9N..=C2=A2=C3=B7.=D7=80=C2=B4.=C2= =A9|

02c0: 24 8F 3F 73 40 4D DB 09=C2=A0 D0 C5 6E F4 9B 7= E 51 7D : $.?s@M. =D7=80= .n=D7=A4=E2=80=BA~Q}

02d0: 26 67 F7 C3 F3 00 3B 4E=C2=A0 AE 5D 50 28 4E D= 4 A6 6A : &g=D7=A7.=D7=A3.;N=C2=AE]P(N=D7=B0= = =C2=A6j

02e0: 26 13 3C AF C1 22 17 53=C2=A0 57 05 7E 2E B2 3= 7 79 97 : &.<=C2=AF.".SW.~.=C2=B27y=E2=80=94

02f0: 19 AA C8 F5 C1 92 70 63=C2=A0 64 F5 F2 F8 D5 8= 8 18 F8 : .=C3=97.=D7=A5= .=E2=80=99pcd=D7=A5=D7=A2=D7= =A8=D7=B1..=D7=A8

0300: 86 3C 7C 58 D4 8D 2C 1E=C2=A0 44 EF CC B7 58 6= 8 B4 DE : =E2=80=A0<|X=D7=B0= .,.D=D7=9F.=C2=B7Xh=C2=B4.

0310: 44 21 D9 9C D0 8D AE 9C=C2=A0 EA DB 4D 1C 6A F= 2 FD 46 : D!..=D7=80.=C2=AE.=D7=9A.M.j=D7=A2.F

0320: 7F A3 1B 45 23 FA 32 CA=C2=A0 7E D3 A6 B8 B4 C= C CB 1B : .=C2=A3.E#=D7=AA2.~=D7=83=C2=A6=C2=B8= =C2=B4...

0330: CD 6E 01 D1 3B 6D 65 B8=C2=A0 BE 69 12 D4 38 E= 7 08 8E : .n..;me=C2=B8=C2=BEi.=D7=B08=D7=97..

[libssh2] 0.615625 Transport: Looking for packet of = type: 20

=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A00 --:--:-- --:--:-- --:--:--=C2=A0=C2=A0=C2=A0=C2=A0 0[libssh2] 0.693750 Socket: Recved 392/16384 bytes to 021CF914+0

=3D> libssh2_transport_read() raw (392 bytes)

0000: 00 00 01 84 07 14 AA 25=C2=A0 A8 63 3D 62 7D 7= A 1F AC : ...=E2=80=9E..=C3=97%=C2=A8c=3Db}z.=C2=AC

0010: 96 7D 83 EA 31 9C 00 00=C2=A0 00 5D 65 63 64 6= 8 2D 73 : =E2=80=93}=C6=92=D7=9A1....]ecdh-s

0020: 68 61 32 2D 6E 69 73 74=C2=A0 70 35 32 31 2C 6= 5 63 64 : ha2-nistp521,ecd

0030: 68 2D 73 68 61 32 2D 6E=C2=A0 69 73 74 70 33 3= 8 34 2C : h-sha2-nistp384,

0040: 65 63 64 68 2D 73 68 61=C2=A0 32 2D 6E 69 73 7= 4 70 32 : ecdh-sha2-nistp2

0050: 35 36 2C 64 69 66 66 69=C2=A0 65 2D 68 65 6C 6= C 6D 61 : 56,diffie-hellma

0060: 6E 2D 67 72 6F 75 70 2D=C2=A0 65 78 63 68 61 6= E 67 65 : n-group-exchange

0070: 2D 73 68 61 32 35 36 00=C2=A0 00 00 23 73 73 6= 8 2D 72 : -sha256...#ssh-r

0080: 73 61 2C 73 73 68 2D 64=C2=A0 73 73 2C 65 63 6= 4 73 61 : sa,ssh-dss,ecdsa

0090: 2D 73 68 61 32 2D 6E 69=C2=A0 73 74 70 35 32 3= 1 00 00 : -sha2-nistp521..

00a0: 00 20 61 65 73 32 35 36=C2=A0 2D 63 74 72 2C 6= 1 65 73 : . aes256-ctr,aes

00b0: 31 39 32 2D 63 74 72 2C=C2=A0 61 65 73 31 32 3= 8 2D 63 : 192-ctr,aes128-c

00c0: 74 72 00 00 00 20 61 65=C2=A0 73 32 35 36 2D 6= 3 74 72 : tr... aes256-ctr

00d0: 2C 61 65 73 31 39 32 2D=C2=A0 63 74 72 2C 61 6= 5 73 31 : ,aes192-ctr,aes1

00e0: 32 38 2D 63 74 72 00 00=C2=A0 00 2A 68 6D 61 6= 3 2D 72 : 28-ctr...*hmac-r

00f0: 69 70 65 6D 64 31 36 30=C2=A0 2C 68 6D 61 63 2= D 73 68 : ipemd160,hmac-sh

0100: 61 32 2D 32 35 36 2C 68=C2=A0 6D 61 63 2D 73 6= 8 61 32 : a2-256,hmac-sha2

0110: 2D 35 31 32 00 00 00 2A=C2=A0 68 6D 61 63 2D 7= 2 69 70 : -512...*hmac-rip

0120: 65 6D 64 31 36 30 2C 68=C2=A0 6D 61 63 2D 73 6= 8 61 32 : emd160,hmac-sha2

0130: 2D 32 35 36 2C 68 6D 61=C2=A0 63 2D 73 68 61 3= 2 2D 35 : -256,hmac-sha2-5

0140: 31 32 00 00 00 15 6E 6F=C2=A0 6E 65 2C 7A 6C 6= 9 62 40 : 12....none,zlib@

0150: 6F 70 65 6E 73 73 68 2E=C2=A0 63 6F 6D 00 00 0= 0 15 6E : openssh.com....n

0160: 6F 6E 65 2C 7A 6C 69 62=C2=A0 40 6F 70 65 6E 7= 3 73 68 : one,zlib@openssh

0170: 2E 63 6F 6D 00 00 00 00=C2=A0 00 00 00 00 00 0= 0 00 00 : .com............

0180: 00 00 00 00 00 00 00 00=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : ........

=3D> libssh2_transport_read() plain (380 bytes)

0000: 14 AA 25 A8 63 3D 62 7D=C2=A0 7A 1F AC 96 7D 8= 3 EA 31 : .=C3=97%=C2=A8c=3Db}z.=C2=AC=E2=80=93}=C6=92=D7=9A1

0010: 9C 00 00 00 5D 65 63 64=C2=A0 68 2D 73 68 61 3= 2 2D 6E : ....]ecdh-sha2-n

0020: 69 73 74 70 35 32 31 2C=C2=A0 65 63 64 68 2D 7= 3 68 61 : istp521,ecdh-sha

0030: 32 2D 6E 69 73 74 70 33=C2=A0 38 34 2C 65 63 6= 4 68 2D : 2-nistp384,ecdh-

0040: 73 68 61 32 2D 6E 69 73=C2=A0 74 70 32 35 36 2= C 64 69 : sha2-nistp256,di

0050: 66 66 69 65 2D 68 65 6C=C2=A0 6C 6D 61 6E 2D 6= 7 72 6F : ffie-hellman-gro

0060: 75 70 2D 65 78 63 68 61=C2=A0 6E 67 65 2D 73 6= 8 61 32 : up-exchange-sha2

0070: 35 36 00 00 00 23 73 73=C2=A0 68 2D 72 73 61 2= C 73 73 : 56...#ssh-rsa,ss

0080: 68 2D 64 73 73 2C 65 63=C2=A0 64 73 61 2D 73 6= 8 61 32 : h-dss,ecdsa-sha2

0090: 2D 6E 69 73 74 70 35 32=C2=A0 31 00 00 00 20 6= 1 65 73 : -nistp521... aes

00a0: 32 35 36 2D 63 74 72 2C=C2=A0 61 65 73 31 39 3= 2 2D 63 : 256-ctr,aes192-c

00b0: 74 72 2C 61 65 73 31 32=C2=A0 38 2D 63 74 72 0= 0 00 00 : tr,aes128-ctr...

00c0: 20 61 65 73 32 35 36 2D=C2=A0 63 74 72 2C 61 6= 5 73 31 :=C2=A0 aes256-ctr,aes1

00d0: 39 32 2D 63 74 72 2C 61=C2=A0 65 73 31 32 38 2= D 63 74 : 92-ctr,aes128-ct

00e0: 72 00 00 00 2A 68 6D 61=C2=A0 63 2D 72 69 70 6= 5 6D 64 : r...*hmac-ripemd

00f0: 31 36 30 2C 68 6D 61 63=C2=A0 2D 73 68 61 32 2= D 32 35 : 160,hmac-sha2-25

0100: 36 2C 68 6D 61 63 2D 73=C2=A0 68 61 32 2D 35 3= 1 32 00 : 6,hmac-sha2-512.

0110: 00 00 2A 68 6D 61 63 2D=C2=A0 72 69 70 65 6D 6= 4 31 36 : ..*hmac-ripemd16

0120: 30 2C 68 6D 61 63 2D 73=C2=A0 68 61 32 2D 32 3= 5 36 2C : 0,hmac-sha2-256,

0130: 68 6D 61 63 2D 73 68 61=C2=A0 32 2D 35 31 32 0= 0 00 00 : hmac-sha2-512...

0140: 15 6E 6F 6E 65 2C 7A 6C=C2=A0 69 62 40 6F 70 6= 5 6E 73 : .none,zlib@opens

0150: 73 68 2E 63 6F 6D 00 00=C2=A0 00 15 6E 6F 6E 6= 5 2C 7A : sh.com....none,z

0160: 6C 69 62 40 6F 70 65 6E=C2=A0 73 73 68 2E 63 6= F 6D 00 : lib@openssh.com.

0170: 00 00 00 00 00 00 00 00=C2=A0 00 00 00 00=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : ...= .........

[libssh2] 0.693750 Transport: Packet type 20 receive= d, length=3D380

[libssh2] 0.693750 Transport: Looking for packet of = type: 20

[libssh2] 0.693750 Failure Event: -5 - Unable to exc= hange encryption keys

* Failure establishing ssh session

[libssh2] 0.693750 Transport: Freeing session resour= ce

[libssh2] 0.693750 Transport: Extra packets left 0

=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 --:--:-- = --:--:-- --:--:--=C2=A0=C2=A0=C2=A0=C2=A0 0

=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 --:--:-- = --:--:-- --:--:--=C2=A0=C2=A0=C2=A0=C2=A0 0

* Closing connection 0

curl: (2) Failure establishing ssh session

=C2=A0


--001a113acb0099c7ff053653579f-- --===============1658612201== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy LWRldmVsCg== --===============1658612201==--