Files

23 lines
774 B
Bash
Raw Permalink Normal View History

2026-04-11 12:59:02 +02:00
#!/bin/sh
2026-04-18 16:09:47 +02:00
# Establish a persistent SSH reverse tunnel from Omega13 to the VPS.
# Each agent gets its own port on the VPS, forwarded directly to its container
# on the Omega13 Docker network. One SSH connection, one -R flag per agent.
2026-04-11 12:59:02 +02:00
set -e
exec autossh -M 0 -N \
-i /run/tunnel/id_ed25519 \
-o "UserKnownHostsFile=/run/tunnel/known_hosts" \
-o "StrictHostKeyChecking=yes" \
-o "ServerAliveInterval=30" \
-o "ServerAliveCountMax=3" \
-o "ExitOnForwardFailure=yes" \
2026-04-18 16:09:47 +02:00
-R 0.0.0.0:50001:dobby:80 \
-R 0.0.0.0:50002:gemma:80 \
-R 0.0.0.0:50003:gunnar:80 \
-R 0.0.0.0:50005:rind:80 \
-R 0.0.0.0:50006:abyssinthia:80 \
2026-05-02 18:53:12 +02:00
-R 0.0.0.0:50007:gerhard-dashboard:9119 \
2026-05-03 11:24:53 +02:00
-R 0.0.0.0:11435:festinger:11434 \
2026-05-09 18:03:29 +02:00
-R 0.0.0.0:50008:hermes:80 \
2026-04-11 12:59:02 +02:00
tunnel@glitch.university