Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C12B011074 for ; Mon, 15 Sep 2014 05:39:51 +0000 (UTC) Received: (qmail 52480 invoked by uid 500); 15 Sep 2014 05:39:51 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 52432 invoked by uid 500); 15 Sep 2014 05:39:51 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 52420 invoked by uid 99); 15 Sep 2014 05:39:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 05:39:50 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of keshav.baweja@jpmorgan.com designates 159.53.36.250 as permitted sender) Received: from [159.53.36.250] (HELO sf2.jpmchase.com) (159.53.36.250) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 05:39:44 +0000 Received: from se2.svr.bankone.net (se2.svr.bankone.net [155.180.234.120]) by sf2.jpmchase.com (Switch-3.4.4/Switch-3.3.3mp) with ESMTP id s8F5dNM5004180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 15 Sep 2014 01:39:23 -0400 X-DKIM: OpenDKIM Filter v2.1.3 sf2.jpmchase.com s8F5dNM5004180 Received: from smgh3.svr.us.jpmchase.net (smgh3.svr.us.jpmchase.net [169.124.133.105]) by se2.svr.bankone.net (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id s8F5dLCP031067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 15 Sep 2014 01:39:22 -0400 X-AuditID: a97c8569-b7fe38e00000178c-cb-54167b893d4a Received: from SCAHHB003.exchad.jpmchase.net ( [155.180.52.15]) by smgh3.svr.us.jpmchase.net (Symantec Messaging Gateway) with SMTP id A8.06.06028.98B76145; Mon, 15 Sep 2014 01:39:21 -0400 (EDT) Received: from SEQCDI004.exchad.jpmchase.net (169.77.38.106) by SCAHHB003.exchad.jpmchase.net (169.83.186.142) with Microsoft SMTP Server (TLS) id 14.3.181.6; Mon, 15 Sep 2014 01:39:20 -0400 Received: from SEQCMX010.exchad.jpmchase.net ([169.254.12.6]) by SEQCDI004.exchad.jpmchase.net ([169.254.60.125]) with mapi id 14.03.0181.006; Mon, 15 Sep 2014 13:39:17 +0800 From: "Baweja, Keshav" To: "users@camel.apache.org" Subject: JSch connection issue with Maverick SSHD server Thread-Topic: JSch connection issue with Maverick SSHD server Thread-Index: Ac/Qp1awh5ynXM1jQKSt85Zg/DbjYg== Date: Mon, 15 Sep 2014 05:39:16 +0000 Message-ID: <552BA6EFAC1C3447A36DCCECBB03EF5339A884C2@SEQCMX010.exchad.jpmchase.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.153.46.252] Content-Type: text/plain; charset="iso-8859-1" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOKsWRmVeSWpSXmKPExsUye4sJv25ntViIwYKZphZv/s5gdmD0+Llg FmMAY1QDo01iXl5+SWJJqkJKanGyrZJLZnFyTmJmbmqRgq6CV0FuflF6Yp5ecn6ukkJmiq2S iZJCQU5icmpual6JrVJiQUFqXoqSHZcCBrABKsvMU0jNS85PycxLt1XyDPbXtbAwtdQ1VLIL ycgsVkjNTczMUUjYyJ7xbs0NpoIfFhWzmh0bGJ8adTFyckgImEisW7iLFcIWk7hwbz1bFyMX h5DAEUaJze/7WSCcQ4wSPe+2skI4mxglWqZ2soG0sAkYS5xsXMUOYosImEq8/XUDqIODQ1jA QuLACgOIsK1E45/lbBC2nsTkztNg5SwCqhKb58xgBrF5BUIktrVOYwKxGYGu+H5qDZjNLCAu cevJfCaI6wQkluw5zwxhi0q8fPwP6mpFiW2n5jFC1OtJ3Jg6hQ3C1pZYtvA11HxBiZMzn4Cd JiSgLvF+TzqIKSHAJ7G9rXoCo9gsJMtmIRk0C8mgWUgGLWBkWcUoWZybnmGsV1xWpFdarJdV kJuckVicqpeXWrKJEZgeVta0Zu5gXLzc9hCjAAejEg8vwxXhECHWxLLiylxgeHIwK4nwsgcd CRTiTUmsrEotyo8vKs1JLT7EWAUMm4nMUqLJ+cDUlVcSb2hsZmFgampoYGFoZEIVYSVx3vt/ VgYLCaQDE2R2ampBahHMciYOTqkGRrGUIJtHGuUWdZwzCtUOb7dNVwu8deDo7sAGPps3C/yE GT9wMy6b9ZkjilX5l6S1ZUnzrqldGSJuNa/ci35VCf3zmsr/N99uZVZWe47tLOmd+zwv/v79 +uGRabF3n910ZNSe/Prb4u6UvVz2s5Y/PPZ8/cN1yz2erfH/9eX5vsnr9m24yVVy9ooSS3FG oqEWc1FxIgBuYrqWagMAAA== X-Virus-Checked: Checked by ClamAV on apache.org Hello I am using Camel 2.13.2 in my application to build up routes to download fil= es from sftp server locations. The codebase has been tested ok against 5 dif= ferent sftp servers. However against one particular sftp server, JSch the sf= tp implementation used=A0 by Camel seems to disconnect immediately after con= necting. Could you please advise what could be the issue here. The log from= application is as below - [2014-09-15 05:52:32.236] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] DEBUG org.apache.camel.component.file.remote.SftpOperations - Usi= ng private keyfile: /home/.ssh/id_rsa [2014-09-15 05:52:32.238] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] DEBUG org.apache.camel.component.file.remote.SftpOperations - Usi= ng knownhosts file: /home/.ssh/known_hosts [2014-09-15 05:52:32.329] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] DEBUG org.apache.camel.component.file.remote.SftpOperations - Usi= ng StrickHostKeyChecking: no [2014-09-15 05:52:32.329] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> Connecting to hostname port port [2014-09-15 05:52:32.462] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> Connection established [2014-09-15 05:52:32.589] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> Remote version string: SSH-2.0-Maverick_SSHD [2014-09-15 05:52:32.589] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> Local version string: SSH-2.0-JSCH-0.1.50 [2014-09-15 05:52:32.589] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,= aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256 [2014-09-15 05:52:32.598] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> CheckKexes: diffie-hellman-group14-sha1 [2014-09-15 05:52:32.621] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> SSH_MSG_KEXINIT sent [2014-09-15 05:52:32.621] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> SSH_MSG_KEXINIT received [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: diffie-hellman-group1-sha1,diffie-hellman-group-exchange= -sha1 [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: ssh-rsa [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: aes128-cbc,aes256-cbc,aes192-cbc,3des-cbc,twofish256-cbc= ,twofish192-cbc,twofish128-cbc,blowfish-cbc,cast128-cbc [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: aes128-cbc,aes256-cbc,aes192-cbc,3des-cbc,twofish256-cbc= ,twofish192-cbc,twofish128-cbc,blowfish-cbc,cast128-cbc [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: hmac-sha1,hmac-sha1-96 [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: hmac-sha1,hmac-sha1-96 [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: zlib [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: zlib [2014-09-15 05:52:32.622] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: server: [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,d= iffie-hellman-group-exchange-sha1 [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: ssh-rsa,ssh-dss [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes= 192-cbc,aes256-cbc [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes= 192-cbc,aes256-cbc [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-9= 6 [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-9= 6 [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: none [2014-09-15 05:52:32.623] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: none [2014-09-15 05:52:32.624] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: [2014-09-15 05:52:32.624] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> kex: client: [2014-09-15 05:52:32.624] [Camel (camel-1) thread #0 - sftp://user@hostname:= port/data] INFO=A0 org.apache.camel.component.file.remote.SftpOperations - J= SCH -> Disconnecting from hostname port port Regards Keshav Regards Keshav This email is confidential and subject to important disclaimers and conditio= ns including on offers for the purchase or sale of securities, accuracy and= completeness of information, viruses, confidentiality, legal privilege, and= legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclo= sures/email.