summaryrefslogtreecommitdiff
path: root/bin/stbip
blob: e4a51a0dce8b0fbacafbf39cdf23f82d88895826 (plain)
1
2
3
4
5
6
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