Added -o reconnect to sshfs

It has been reported to fix some errors
This commit is contained in:
Albert Vaca 2018-04-09 18:30:14 +02:00
parent 6905234325
commit 171eb0b571

View file

@ -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")
;