We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f56ad39 commit 2e7517eCopy full SHA for 2e7517e
gix-transport/src/client/blocking_io/ssh/mod.rs
@@ -118,6 +118,8 @@ pub fn connect(
118
.stdin(Stdio::null())
119
.with_shell()
120
.arg("-G")
121
+ // Username affects the stdout from `ssh -G` but may not affect the status. But if
122
+ // we end up needing it, it can be added here, with a user_argument_safe() check.
123
.arg(url.host_argument_safe().ok_or_else(|| Error::AmbiguousHostName {
124
host: url.host().expect("set in ssh urls").into(),
125
})?),
0 commit comments