mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +00:00
Trying to fix people not being able to mount sftp
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user