aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-10-25 20:26:52 +0200
committerGitHub <noreply@github.com>2022-10-25 20:26:52 +0200
commit899878f77a1b29b337aca409ec3f7a420e574a6a (patch)
treec0d1e5e4de406b75b10c2eb1da93c3853dad5a50
parentfed1700754b46ef05c996f2c7b0ec30da4dc6ce0 (diff)
parent8e7804273cec1bb3fa05ce09a37f0732b71a72ec (diff)
Merge pull request #7206 from akiekintveld/master
Defer to SSH config files for ForwardAgent option
-rw-r--r--src/libstore/ssh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/ssh.cc b/src/libstore/ssh.cc
index 1bbad71f2..69bfe3418 100644
--- a/src/libstore/ssh.cc
+++ b/src/libstore/ssh.cc
@@ -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});