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 2021/06/30 12:04:00 UTC
[jira] [Commented] (NIFI-8711) Support keyboard-interactive
authentication for SFTP
[ https://issues.apache.org/jira/browse/NIFI-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371964#comment-17371964 ]
ASF subversion and git services commented on NIFI-8711:
-------------------------------------------------------
Commit 6c7c3b3c1b6383485dd4666c44e63d1f6f86aa47 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6c7c3b3 ]
NIFI-8711 Added SFTP support for keyboard-interactive authentication
- Included debug logging of configured Authentication Methods
Signed-off-by: Pierre Villard <pi...@gmail.com>
This closes #5166.
> Support keyboard-interactive authentication for SFTP
> ----------------------------------------------------
>
> Key: NIFI-8711
> URL: https://issues.apache.org/jira/browse/NIFI-8711
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.10.0, 1.13.2
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Labels: SFTP, SSH, security, sshj
>
> Changing the supporting library from JSch to SSHJ resulted in removing support for keyboard-interactive authentication when configuring a password in SFTP components.
> Some SSH servers disable password authentication but support keyboard-interactive authentication. SSHJ provides support for keyboard-interactive authentication using a password, and SFTP components should attempt both password authentication and keyboard-interactive authentication when a password is configured.
> Without support for keyboard-interactive authentication, SFTP processors report the following error even when configured with valid username and password credentials:
> {{UserAuthException: Exhausted available authentication methods}}
> SSHJ reports the following debug log with valid credentials when the server has disabled password authentication:
> {{net.schmizz.sshj.userauth.UserAuthImpl `password` auth failed}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)