mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
ssh: enable proxycommand overrides via command line for libssh backend
This commit is contained in:
parent
c1a766404c
commit
124248028f
@ -119,6 +119,9 @@ impl SessionInner {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if let Some(cmd) = self.config.get("proxycommand") {
|
||||
sess.set_option(libssh::SshOption::ProxyCommand(Some(cmd.to_string())))?;
|
||||
}
|
||||
|
||||
sess.options_parse_config(None)?; // FIXME: overridden config path?
|
||||
sess.connect()?;
|
||||
|
Loading…
Reference in New Issue
Block a user