0

I am working mostly from coffee shops, etc., and typically I use a tunnel to a database during that time.

I use a USB connection from iPhone to a Mac to provide the internet (I have unlimited 5G, and it's faster than the Wi-Fi connections from the shops)

The tunnel dies every time I take the phone away, etc. But the ssh app stays open and doesn't show any errors.

So I tried to use AutoSSH (How to reliably keep an SSH tunnel open?) but it just shows an error when the connection drops.

Is there a way to automatically restart the tunnel when the connectivity comes back?

Thomas
  • 184

0 Answers0