summaryrefslogtreecommitdiff
path: root/misc/dotfiles/ssh
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-03-08 16:02:13 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2026-03-08 16:02:13 +0000
commitd391379cd897f6869209215ff0eb7d739b34fbfd (patch)
tree858ca971be8b76862692afd0bce44da6437fb332 /misc/dotfiles/ssh
parent35d7c7ceb9e96f749b3834c5c993f31341fb43a4 (diff)
downloadinfra-master.tar.gz
infra-master.tar.bz2
infra-master.zip
Use autossh to connect to host behind NATHEADmaster
Since wireguard is blocked there.
Diffstat (limited to 'misc/dotfiles/ssh')
-rw-r--r--misc/dotfiles/ssh/config.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2
index f0c6c74..5c019c4 100644
--- a/misc/dotfiles/ssh/config.j2
+++ b/misc/dotfiles/ssh/config.j2
@@ -15,12 +15,14 @@ Host flame
{% if inventory_hostname_short != "gate" %}
ProxyJump gate
{% endif %}
- Hostname 10.0.0.2
+ Hostname localhost
+ Port 2222
ForwardAgent yes
Host water
{% if inventory_hostname_short != "gate" %}
ProxyJump gate
{% endif %}
- Hostname 10.0.0.3
+ Hostname localhost
+ Port 2223
ForwardAgent yes