nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pvill...@apache.org
Subject nifi git commit: NIFI-1956 added 'keyboard-interactive' option to SFTPTransfer
Date Mon, 06 Jun 2016 17:32:30 GMT
Repository: nifi
Updated Branches:
  refs/heads/master 55d32ae61 -> cee2426df


NIFI-1956 added 'keyboard-interactive' option to SFTPTransfer

This closes #487.


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/cee2426d
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/cee2426d
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/cee2426d

Branch: refs/heads/master
Commit: cee2426df6e85336db2f92311e9cb4e193b30332
Parents: 55d32ae
Author: Oleg Zhurakousky <oleg@suitcase.io>
Authored: Wed Jun 1 16:11:43 2016 -0400
Committer: Pierre Villard <pierre.villard.fr@gmail.com>
Committed: Mon Jun 6 19:32:16 2016 +0200

----------------------------------------------------------------------
 .../org/apache/nifi/processors/standard/util/SFTPTransfer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/cee2426d/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
index 3a88862..85d4f4d 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
@@ -406,7 +406,7 @@ public class SFTPTransfer implements FileTransfer {
 
             final Properties properties = new Properties();
             properties.setProperty("StrictHostKeyChecking", ctx.getProperty(STRICT_HOST_KEY_CHECKING).asBoolean()
? "yes" : "no");
-            properties.setProperty("PreferredAuthentications", "publickey,password");
+            properties.setProperty("PreferredAuthentications", "publickey,password,keyboard-interactive");
 
             final PropertyValue compressionValue = ctx.getProperty(FileTransfer.USE_COMPRESSION);
             if (compressionValue != null && "true".equalsIgnoreCase(compressionValue.getValue()))
{


Mime
View raw message