#!/usr/bin/env bash # Studio→105 正向隧道:本机 127.0.0.1:18080 → 105 的 127.0.0.1:8080(memind-h5 portal) # 供 g2-lb Caddy 把一部分 g2 流量加权分到 105,同协议(HTTP) + SSH 加密私网 set -euo pipefail exec ssh -N -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -L 127.0.0.1:18080:127.0.0.1:8080 ssh105