forked from qt-creator/qt-creator
SSH: Ignore connection timeout with Microsoft's OpenSSH
The Microsoft-provided ssh binaries misinterpret the connection timeout in that they only start to connect after that period has passed, which slows down the connection process. So let's not use the timeout option there. Change-Id: I5a5335c7f1b4af04f1afb5603ab0f1a518e8c95e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -228,7 +228,7 @@ RsyncCommandLine RsyncDeployStep::rsyncCommand(const SshConnection &sshConnectio
|
||||
{
|
||||
const QString sshCmdLine = QtcProcess::joinArgs(
|
||||
QStringList{SshSettings::sshFilePath().toUserOutput()}
|
||||
<< sshConnection.connectionOptions());
|
||||
<< sshConnection.connectionOptions(SshSettings::sshFilePath()));
|
||||
const SshConnectionParameters sshParams = sshConnection.connectionParameters();
|
||||
return RsyncCommandLine(QStringList{"-e", sshCmdLine, flags},
|
||||
sshParams.userName() + '@' + sshParams.host());
|
||||
|
Reference in New Issue
Block a user