2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Trying to fix people not being able to mount sftp

This commit is contained in:
Albert Vaca 2016-06-09 15:00:42 +02:00
parent 0836453c35
commit d920b2659d

View File

@ -91,9 +91,8 @@ class SimpleSftpServer {
if (device.publicKey != null) { if (device.publicKey != null) {
keyAuth.addKey(device.publicKey); keyAuth.addKey(device.publicKey);
sshd.setPublickeyAuthenticator(keyAuth); sshd.setPublickeyAuthenticator(keyAuth);
} else {
sshd.setPasswordAuthenticator(passwordAuth);
} }
sshd.setPasswordAuthenticator(passwordAuth);
} }
public boolean start() { public boolean start() {