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:
parent
0836453c35
commit
d920b2659d
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user