mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 21:27:40 +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) {
|
||||
keyAuth.addKey(device.publicKey);
|
||||
sshd.setPublickeyAuthenticator(keyAuth);
|
||||
} else {
|
||||
sshd.setPasswordAuthenticator(passwordAuth);
|
||||
}
|
||||
sshd.setPasswordAuthenticator(passwordAuth);
|
||||
}
|
||||
|
||||
public boolean start() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user