diff options
Diffstat (limited to 'ssh-tunnel-all-stop')
| -rwxr-xr-x | ssh-tunnel-all-stop | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh-tunnel-all-stop b/ssh-tunnel-all-stop new file mode 100755 index 0000000..15088cd --- /dev/null +++ b/ssh-tunnel-all-stop @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh +set -euo pipefail + +SOCK="${XDG_RUNTIME_DIR:-/tmp}/sanctum-all.sock" +HOST="lukasz@192.168.33.5" +PORT="57385" + +ssh -S "$SOCK" -O exit -p "$PORT" "$HOST" |
