We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c7e38 commit 2e20b0eCopy full SHA for 2e20b0e
src/Commands/Command.cs
@@ -181,7 +181,7 @@ protected ProcessStartInfo CreateGitStartInfo(bool redirect)
181
182
// If an SSH private key was provided, sets the environment.
183
if (!start.Environment.ContainsKey("GIT_SSH_COMMAND") && !string.IsNullOrEmpty(SSHKey))
184
- start.Environment.Add("GIT_SSH_COMMAND", $"ssh -i '{SSHKey}'");
+ start.Environment.Add("GIT_SSH_COMMAND", $"ssh -i '{SSHKey}' -F '/dev/null'");
185
186
// Force using en_US.UTF-8 locale
187
if (OperatingSystem.IsLinux())
0 commit comments