From fdca1b712c9d62213de1002a02b040fa66bfc0f1 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 18 Sep 2020 15:21:29 +0200 Subject: update --- bin/stbip | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/stbip (limited to 'bin/stbip') diff --git a/bin/stbip b/bin/stbip new file mode 100755 index 0000000..e4a51a0 --- /dev/null +++ b/bin/stbip @@ -0,0 +1,7 @@ +#!/bin/sh + +# Check or establish a ssh tunnel for remote acess to syncthing GUI on bip. +netstat -t4ln | grep 9090 || + ssh -N -L 9090:127.0.0.1:8384 bip.im /dev/null 2>&1 & + +xdg-open http://127.0.0.1:9090 -- cgit v1.2.3