Allow ssh-rsa when mounting sshfs
Fixes "Unable to negotiate with 192.168.0.10 port 1741: no matching host key type found. Their offer: ssh-rsa"
This commit is contained in:
parent
f3b9dcfd6f
commit
460eb70a81
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void Mounter::onPackageReceived(const NetworkPacket& np)
|
|||
<< QStringLiteral("-o") << QStringLiteral("IdentityFile=") + KdeConnectConfig::instance().privateKeyPath()
|
||||
<< QStringLiteral("-o") << QStringLiteral("StrictHostKeyChecking=no") //Do not ask for confirmation because it is not a known host
|
||||
<< QStringLiteral("-o") << QStringLiteral("UserKnownHostsFile=/dev/null") //Prevent storing as a known host
|
||||
<< QStringLiteral("-o") << QStringLiteral("HostKeyAlgorithms=+ssh-dss") //https://bugs.kde.org/show_bug.cgi?id=351725
|
||||
<< QStringLiteral("-o") << QStringLiteral("HostKeyAlgorithms=+ssh-dss\\,ssh-rsa") //https://bugs.kde.org/show_bug.cgi?id=351725
|
||||
<< QStringLiteral("-o") << QStringLiteral("uid=") + QString::number(getuid())
|
||||
<< QStringLiteral("-o") << QStringLiteral("gid=") + QString::number(getgid())
|
||||
<< QStringLiteral("-o") << QStringLiteral("reconnect")
|
||||
|
|
Loading…
Reference in a new issue