Merge pull request #7206 from akiekintveld/master

Defer to SSH config files for ForwardAgent option
This commit is contained in:
Théophane Hufschmitt
2022-10-25 20:26:52 +02:00
committed by GitHub
+1 -1
View File
@@ -67,7 +67,7 @@ std::unique_ptr<SSHMaster::Connection> SSHMaster::startCommand(const std::string
if (fakeSSH) {
args = { "bash", "-c" };
} else {
args = { "ssh", host.c_str(), "-x", "-a" };
args = { "ssh", host.c_str(), "-x" };
addCommonSSHOpts(args);
if (socketPath != "")
args.insert(args.end(), {"-S", socketPath});