summaryrefslogtreecommitdiff
path: root/misc/dotfiles/ssh/config.j2
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dotfiles/ssh/config.j2')
-rw-r--r--misc/dotfiles/ssh/config.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2
index f86927e..3ee3830 100644
--- a/misc/dotfiles/ssh/config.j2
+++ b/misc/dotfiles/ssh/config.j2
@@ -14,11 +14,15 @@ Host sun mail
# Moscow machines behind NAT.
Host flame
+{% if inventory_hostname_short != "gate" %}
ProxyJump gate
+{% endif %}
Hostname 10.0.0.2
ForwardAgent yes
Host water
+{% if inventory_hostname_short != "gate" %}
ProxyJump gate
+{% endif %}
Hostname 10.0.0.3
ForwardAgent yes