diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-02-26 20:47:30 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-02-26 20:47:30 +0000 |
commit | 420a2b58c08ac5da4a7150b75467b00d4359a7be (patch) | |
tree | 6237a94b9039b9298ad447023007a4efa3d4c6d1 /misc | |
parent | 39772664b82c56563fa56c5420c2f3ccbb4bc0b9 (diff) | |
download | infra-420a2b58c08ac5da4a7150b75467b00d4359a7be.tar.gz infra-420a2b58c08ac5da4a7150b75467b00d4359a7be.tar.bz2 infra-420a2b58c08ac5da4a7150b75467b00d4359a7be.zip |
Remove username from * section
Because * section overrides everything else and `User` setting from other
section didn't apply.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dotfiles/ssh/config.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
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 |