diff options
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" |
