From 13830c601a94dbec46f5e2922df9e4ec8d226562 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Mon, 9 Apr 2018 18:30:14 +0200 Subject: [PATCH] Added -o reconnect to sshfs It has been reported to fix some errors --- plugins/sftp/mounter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp index 4352af3bf..2832c3fe2 100644 --- a/plugins/sftp/mounter.cpp +++ b/plugins/sftp/mounter.cpp @@ -137,6 +137,7 @@ void Mounter::onPakcageReceived(const NetworkPacket& np) << QStringLiteral("-o") << QStringLiteral("HostKeyAlgorithms=ssh-dss") //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") << QStringLiteral("-o") << QStringLiteral("ServerAliveInterval=30") << QStringLiteral("-o") << QStringLiteral("password_stdin") ;