summaryrefslogtreecommitdiffstats
path: root/source/kde/patch/kdeconnect-kde/kdeconnect-kde.openssh7.diff
blob: 1189c2e58c61380f0b561947b4eb69cfb6f4366f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./plugins/sftp/mounter.cpp.orig	2015-02-03 20:53:33.000000000 -0600
+++ ./plugins/sftp/mounter.cpp	2015-11-19 17:22:51.795962646 -0600
@@ -136,7 +136,8 @@
         << "-f"
         << "-o" << "IdentityFile=" + m_sftp->device()->privateKeyPath()
         << "-o" << "StrictHostKeyChecking=no" //Do not ask for confirmation because it is not a known host
-        << "-o" << "UserKnownHostsFile=/dev/null"; //Prevent storing as a known host
+        << "-o" << "UserKnownHostsFile=/dev/null" //Prevent storing as a known host
+        << "-o" << "HostKeyAlgorithms=+ssh-dss"; //https://bugs.kde.org/show_bug.cgi?id=351725
     
     m_proc->setProgram(program, arguments);
 
@@ -146,7 +147,7 @@
 
     cleanMountPoint();
     
-    kDebug(debugArea()) << "Staring process: " << m_proc->program().join(" ");
+    kDebug(debugArea()) << "Starting process: " << m_proc->program().join(" ");
     m_proc->start();
 }