From 494fa999bb9812d9d8b460b1630b9c73448a068a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 3 May 2021 19:54:09 -0700 Subject: [PATCH] fix system ssh config path --- docs/changelog.md | 2 +- wezterm-ssh/src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 67371daee..1d437eb0a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,7 +11,7 @@ usually the best available version. As features stabilize some brief notes about them will accumulate here. -* Not yet +* Fixed: ssh client would read `/etc/ssh/config` rather than the proper `/etc/ssh/ssh_config` ### 20210502-154244-3f7122cb diff --git a/wezterm-ssh/src/config.rs b/wezterm-ssh/src/config.rs index 04a88c81c..359152c4b 100644 --- a/wezterm-ssh/src/config.rs +++ b/wezterm-ssh/src/config.rs @@ -354,7 +354,7 @@ impl Config { if let Some(home) = dirs_next::home_dir() { self.add_config_file(home.join(".ssh").join("config")); } - self.add_config_file("/etc/ssh/config"); + self.add_config_file("/etc/ssh/ssh_config"); } fn resolve_local_user(&self) -> String {