This syntax also works on older OpenSSH versions.

Like the one that Ubuntu distributes

BUG: 355015
This commit is contained in:
Albert Vaca 2016-01-02 12:30:50 -08:00
parent 0571275cd7
commit 36e62891ca

View file

@ -123,7 +123,7 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
<< "-o" << "IdentityFile=" + KdeConnectConfig::instance()->privateKeyPath() << "-o" << "IdentityFile=" + KdeConnectConfig::instance()->privateKeyPath()
<< "-o" << "StrictHostKeyChecking=no" //Do not ask for confirmation because it is not a known host << "-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 << "-o" << "HostKeyAlgorithms=ssh-dss"; //https://bugs.kde.org/show_bug.cgi?id=351725
m_proc->setProgram(program, arguments); m_proc->setProgram(program, arguments);