Have you had trouble with ligolo dropping your tunnel? Has it cost you precious minutes on your OSCP? ME TOO!! I wrote this script to monitor my connection to a remote system in the background and use the gnome builtin notification system to alert me when it drops. Just provide it with an ip with an optional port for a system on the other side of the tunnel.
I hope this helps you like it helped me.
python ./tunnelcheck.py 172.16.100.200
python ./tunnelcheck.py 172.16.100.200 139