From cee2426df6e85336db2f92311e9cb4e193b30332 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 1 Jun 2016 16:11:43 -0400 Subject: [PATCH] NIFI-1956 added 'keyboard-interactive' option to SFTPTransfer This closes #487. --- .../org/apache/nifi/processors/standard/util/SFTPTransfer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3a88862b7b..85d4f4d3d0 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())) {