From d391379cd897f6869209215ff0eb7d739b34fbfd Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 8 Mar 2026 16:02:13 +0000 Subject: Use autossh to connect to host behind NAT Since wireguard is blocked there. --- misc/dotfiles/ssh/config.j2 | 6 ++++-- misc/pubkeys/flame.pub | 1 + misc/pubkeys/water.pub | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 misc/pubkeys/flame.pub create mode 100644 misc/pubkeys/water.pub 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 -- cgit v1.2.3-70-g09d2