image: enable keepalives on the reverse ssh tunnel
authorKristof Provost <kp@FreeBSD.org>
Wed, 26 Feb 2025 20:37:31 +0000 (21:37 +0100)
committerKristof Provost <kp@FreeBSD.org>
Wed, 26 Feb 2025 20:37:31 +0000 (21:37 +0100)
commit3b9fae4e26805a36ad249c257f50ffe018553bd6
treefdc3002ac8e308e614b0fe0839c94e5df23f51b2
parent4afe0ae16c5be8a4c2f865d5989e791394fad135
image: enable keepalives on the reverse ssh tunnel

We've seen the reverse ssh connection become unusable after some time.
It's assumed this happens because NAT and/or firewall states along the path
time out as there's no traffic. Explicitly enable both SSH and TCP keepalive
mechanisms to avoid this.
image/overlay/domotica/etc/rc.d/autossh