Autossh service crashes

OpenWrt 21.02.0, r16279-5cc0535800
When using autossh manually it works just fine

autossh -M 20000 -NTf -R 0.0.0.0:2210:localhost:22 -i /etc/dropbear/dropbear_rsa_host_key  <host>

But when starting the same as a service it fails hard

Wed Sep 15 09:11:26 2021 daemon.info procd: Instance autossh::instance1 s in a crash loop 7 crashes, 0 seconds since last crash
user.info autossh[1291]: ssh exited with error status 1; restarting ssh

What is wrong here. It works on Openwrt 19

You need to troubleshoot the autossh init script.
However, this doesn't look reliable in any way.
You'd better consider setting up a VPN properly.

Oops, didn't google hard enough :slight_smile: