You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin kapfer (Jira)" <ji...@apache.org> on 2020/08/05 12:40:00 UTC

[jira] [Created] (NIFI-7709) Enable options for sftp connections (the "-o" parameter for sftp command line)

Kevin kapfer created NIFI-7709:
----------------------------------

             Summary: Enable options for sftp connections (the "-o" parameter for sftp command line)
                 Key: NIFI-7709
                 URL: https://issues.apache.org/jira/browse/NIFI-7709
             Project: Apache NiFi
          Issue Type: New Feature
    Affects Versions: 1.11.4
         Environment: software platform
            Reporter: Kevin kapfer


When the sftp server requires a different algorithm (for example dss) than available from NiFi UI's server, you get
{code:java}
Unable to negotiate with {server ip} port 22: no matching host key type found. Their offer: ssh-dss{code}
for a response when invoking sftp from the command line.  To connect successfully, you must provide:
{noformat}
-oHostKeyAlgorithms=+ssh-dss{noformat}
to the command.  

The requested feature is to enable an option to specify the algorithm as an option, within the processors making sftp connections: GetSftp, PutSftp, FetchSftp, ListSftp.

A possible workaround is to add the missing algorithm to the server's ssh configuration



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