From 9d41776be74dfba0d038fa43a5a7b1eb7c71d655 Mon Sep 17 00:00:00 2001 From: Hermes Sysadmin Date: Thu, 19 Nov 2026 23:37:59 +0000 Subject: [PATCH] ssh-bridge 1.0.2: drop unsupported --loginfoleak flag; wait on tailscaled default socket path --- ssh-bridge/config.yaml | 2 +- ssh-bridge/run.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ssh-bridge/config.yaml b/ssh-bridge/config.yaml index 73c0528..28ab534 100644 --- a/ssh-bridge/config.yaml +++ b/ssh-bridge/config.yaml @@ -1,5 +1,5 @@ name: "SSH Bridge (Tailscale)" -version: "1.0.1" +version: "1.0.2" slug: "ssh_bridge" description: "Contained tailscale+sshd jump host for tailnet access. Runs in its own network namespace; Home Assistant and the host itself do NOT join the tailnet." url: "https://git.halfast.com/hermes/ha-addons" diff --git a/ssh-bridge/run.sh b/ssh-bridge/run.sh index 32aa0f3..7c99201 100755 --- a/ssh-bridge/run.sh +++ b/ssh-bridge/run.sh @@ -7,13 +7,14 @@ mkdir -p /data/ssh # --- tailscaled (real TUN inside this container's netns; host never joins tailnet) tailscaled \ --statedir=/data/tailscale \ - --tun=tailscale0 \ - --loginfoleak=false & + --tun=tailscale0 & TAILSD=$! # Wait for the socket before trying to bring the node up. +# (tailscaled's default socket is /var/run/tailscale/tailscaled.sock; statedir +# only moves the state files, not the socket.) i=0 -until [ -e /data/tailscale/tailscaled.sock ]; do +until [ -e /var/run/tailscale/tailscaled.sock ]; do i=$((i+1)); [ "$i" -gt 30 ] && { echo "tailscaled socket never appeared"; exit 1; } sleep 1 done