[
https://issues.apache.org/jira/browse/NIFI-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-8711:
---------------------------------
Fix Version/s: 1.14.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 1.14.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)