SPB Git

spb/wp25_uqo

Public
434 B · 8 lines shellscript
1#!/usr/bin/env bash2# Forward the node-side inference ports to the laptop:  localhost:8081/8082/80833set -u4pkill -f 'ssh -fN -L 8081' 2>/dev/null; pkill -f 'ssh -fN -L 8082' 2>/dev/null; pkill -f 'ssh -fN -L 8083' 2>/dev/null5ssh -fN -L 8081:localhost:8081 -L 8083:localhost:8083 M3U96a6ssh -fN -L 8082:localhost:8082 M3U96b7for p in 8081 8082 8083; do printf "%s: " $p; curl -s -m 3 localhost:$p/v1/models | head -c 120; echo; done8
Files · main
Menu

Theme