Fixed incompatibility with OpenSSH 7.0
BUG: 351725
This commit is contained in:
parent
1924173df2
commit
bc3fb512d4
1 changed files with 5 additions and 4 deletions
|
@ -120,8 +120,9 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
|
|||
<< "-f"
|
||||
<< "-o" << "IdentityFile=" + KdeConnectConfig::instance()->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);
|
||||
|
||||
//To debug
|
||||
|
@ -129,8 +130,8 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
|
|||
//m_proc->setStandardErrorFile("/tmp/kdeconnect-sftp.err");
|
||||
|
||||
cleanMountPoint();
|
||||
|
||||
qCDebug(KDECONNECT_PLUGIN_SFTP) << "Staring process: " << m_proc->program().join(" ");
|
||||
|
||||
qCDebug(KDECONNECT_PLUGIN_SFTP) << "Starting process: " << m_proc->program().join(" ");
|
||||
m_proc->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue