From issues-return-80459-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Tue Jul 2 13:49:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 750B718060E for ; Tue, 2 Jul 2019 15:49:01 +0200 (CEST) Received: (qmail 97809 invoked by uid 500); 2 Jul 2019 13:49:00 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 97793 invoked by uid 99); 2 Jul 2019 13:49:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2019 13:49:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 56E76E2D93 for ; Tue, 2 Jul 2019 13:49:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 18B26261A3 for ; Tue, 2 Jul 2019 13:49:00 +0000 (UTC) Date: Tue, 2 Jul 2019 13:49:00 +0000 (UTC) From: "Matt Hagenbuch (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-5816) SFTP cannot connect due to JSch limitations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-5816?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16876= 986#comment-16876986 ]=20 Matt Hagenbuch commented on NIFI-5816: -------------------------------------- The JSch limitation also applies to the NiFi Registry GitFlowPersistencePro= vider.=C2=A0 Basically, modern OpenSSH keys cannot be used to authenticate = with Git servers using this library as=C2=A0discussed here=C2=A0[https://ww= w.eclipse.org/forums/index.php/t/1095599/] =C2=A0 > SFTP cannot connect due to JSch limitations > ------------------------------------------- > > Key: NIFI-5816 > URL: https://issues.apache.org/jira/browse/NIFI-5816 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions > Affects Versions: 1.8.0 > Reporter: Laurenceau Julien > Priority: Minor > > Hi, > The JSch library used for SFTP does not support HostKeyAlgorithms=3Ded255= 19 whereas it is the current standard. This make SFTP / SSH unusable when d= ealing with recent openssh config. > On dbeaver project they switched to sshj. > [https://github.com/dbeaver/dbeaver/issues/2202] > [https://community.hortonworks.com/answers/226377/view.html] > =C2=A0https://stackoverflow.com/questions/2003419/com-jcraft-jsch-jschexc= eption-unknownhostkey > One more argument against JSch is that it does not support rsa key length= other than default (2048). > ssh-keygen -o -t rsa -b 4096 -f id_rsa -> does not work with nifi > ssh-keygen -t rsa -f id_rsa -> works with nifi > Thanks and regards > JL > PS :=C2=A0sorry but I do not know nifi deep enough to fill all fields. > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)