1
1
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:
Wez Furlong 2021-10-20 09:04:17 -07:00
parent c1a766404c
commit 124248028f

View File

@ -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()?;