mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
ssh: apply HostKeyAlgorithms in ssh config
This commit is contained in:
parent
3b4d82e74c
commit
211bce5037
@ -201,6 +201,9 @@ impl SessionInner {
|
||||
if let Some(bind_addr) = self.config.get("bindaddress") {
|
||||
sess.set_option(libssh_rs::SshOption::BindAddress(bind_addr.to_string()))?;
|
||||
}
|
||||
if let Some(host_key) = self.config.get("hostkeyalgorithms") {
|
||||
sess.set_option(libssh_rs::SshOption::HostKeys(host_key.to_string()))?;
|
||||
}
|
||||
|
||||
let sock =
|
||||
self.connect_to_host(&hostname, port, verbose, self.config.get("proxycommand"))?;
|
||||
|
Loading…
Reference in New Issue
Block a user