From 420a2b58c08ac5da4a7150b75467b00d4359a7be Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Mon, 26 Feb 2024 20:47:30 +0000 Subject: Remove username from * section Because * section overrides everything else and `User` setting from other section didn't apply. --- misc/dotfiles/ssh/config.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'misc/dotfiles/ssh/config.j2') diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2 index d56f1d0..75f0f81 100644 --- a/misc/dotfiles/ssh/config.j2 +++ b/misc/dotfiles/ssh/config.j2 @@ -1,5 +1,4 @@ Host * - User d {% if ansible_facts['os_family'] == "Darwin" %} # macOS specific settings. UseKeychain yes @@ -8,10 +7,12 @@ Host * Host gate Hostname gate.ilvokhin.com + User d ForwardAgent yes Host sun Hostname sun.ilvokhin.com + User d Host mail Hostname mail.ilvokhin.com @@ -21,9 +22,11 @@ Host mail Host water ProxyJump gate Hostname 10.9.8.2 + User d ForwardAgent yes Host flame ProxyJump gate Hostname 10.9.9.2 + User d ForwardAgent yes -- cgit v1.2.3-70-g09d2