summaryrefslogtreecommitdiff
path: root/misc
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
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')
-rw-r--r--misc/dotfiles/ssh/config.j26
-rw-r--r--misc/pubkeys/flame.pub1
-rw-r--r--misc/pubkeys/water.pub1
3 files changed, 6 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
diff --git a/misc/pubkeys/flame.pub b/misc/pubkeys/flame.pub
new file mode 100644
index 0000000..732686c
--- /dev/null
+++ b/misc/pubkeys/flame.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEvjfemLBetxx6d/PZvdKh5o+WxsYDqLK9ul8N1gpdeD d@flame.ilvokhin.com
diff --git a/misc/pubkeys/water.pub b/misc/pubkeys/water.pub
new file mode 100644
index 0000000..78d61f6
--- /dev/null
+++ b/misc/pubkeys/water.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILCTmnKTDXRmSM9m6iXjl7sPg15kDRStbbovjy5D2sNs d@water.ilvokhin.com