diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-05-19 18:38:39 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-05-19 18:38:39 +0200 |
| commit | e8cf42f2f17151378574ee5b50f29904a1067bee (patch) | |
| tree | 86b4db80971ecf9818ad769bd8b7fa337d218731 /ssh-tunnel-down | |
| parent | c3bfa44d1b6da88c184fc3312944cf47d1dfd7f2 (diff) | |
| download | bin-e8cf42f2f17151378574ee5b50f29904a1067bee.tar.gz bin-e8cf42f2f17151378574ee5b50f29904a1067bee.zip | |
Diffstat (limited to 'ssh-tunnel-down')
| -rwxr-xr-x | ssh-tunnel-down | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh-tunnel-down b/ssh-tunnel-down new file mode 100755 index 0000000..5d74344 --- /dev/null +++ b/ssh-tunnel-down @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh +set -euo pipefail +ssh -O exit sanctum-tunnel 2>/dev/null && echo "Tunnel stopped" || echo "No tunnel running" |
