From d920b2659d590838a8685d132749a1ac1747c20c Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Thu, 9 Jun 2016 15:00:42 +0200 Subject: [PATCH] Trying to fix people not being able to mount sftp --- .../kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java index e2fa029b..4c207e12 100644 --- a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java +++ b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java @@ -91,9 +91,8 @@ class SimpleSftpServer { if (device.publicKey != null) { keyAuth.addKey(device.publicKey); sshd.setPublickeyAuthenticator(keyAuth); - } else { - sshd.setPasswordAuthenticator(passwordAuth); } + sshd.setPasswordAuthenticator(passwordAuth); } public boolean start() {