You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/19 15:00:09 UTC

[jira] [Commented] (NIFI-5816) SFTP cannot connect due to JSch limitations

    [ https://issues.apache.org/jira/browse/NIFI-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933470#comment-16933470 ] 

ASF subversion and git services commented on NIFI-5816:
-------------------------------------------------------

Commit ff6a7d95613fc01601d3f60b5fb976c10d89949f in nifi's branch refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ff6a7d9 ]

NIFI-5816 This closes #3726. Remove unused SFTP classes that reference Jsch
NIFI-5816 Switching SFTP processors from JSCH to SSHJ
NIFI-5816 LICENSE/NOTICIE updates to reflect changing from JSch to SSHJ

Signed-off-by: Joe Witt <jo...@apache.org>


> 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
>            Assignee: Bryan Bende
>            Priority: Minor
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Hi,
> The JSch library used for SFTP does not support HostKeyAlgorithms=ed25519 whereas it is the current standard. This make SFTP / SSH unusable when dealing 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]
>  https://stackoverflow.com/questions/2003419/com-jcraft-jsch-jschexception-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 : sorry but I do not know nifi deep enough to fill all fields.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)