include ssh config map in debug logging when running wezterm ssh -v

refs: #3176
This commit is contained in:
Wez Furlong committed 2023-03-08 11:07:18 -07:00
1 parent c3286f1bf9
commit e026d0427e
1 file changed
+3
+3
View File
@@ -177,6 +177,9 @@ pub fn ssh_domain_to_ssh_config(ssh_dom: &SshDomain) -> anyhow::Result<ConfigMap
if ssh_dom.no_agent_auth {
ssh_config.insert("identitiesonly".to_string(), "yes".to_string());
}
if let Some("true") = ssh_config.get("wezterm_ssh_verbose").map(|s| s.as_str()) {
log::info!("Using ssh config: {ssh_config:#?}");
}
Ok(ssh_config)
}