diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-09-18 15:21:29 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-09-18 15:21:29 +0200 |
| commit | fdca1b712c9d62213de1002a02b040fa66bfc0f1 (patch) | |
| tree | b0d52ff09035faf2dd0831cf1a06433fb85cbe07 /bin/stbip | |
| parent | ea18410af09ef8ef4f044079a72c82b2d41151a4 (diff) | |
update
Diffstat (limited to 'bin/stbip')
| -rwxr-xr-x | bin/stbip | 7 |
1 files changed, 7 insertions, 0 deletions
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 >/dev/null 2>&1 & + +xdg-open http://127.0.0.1:9090 |
