I used autossh many years ago. There was nothing wrong with it. But with systemd user service managers available everywhere I just put a normal ssh command into a service file with RestartAlways and activate linger for the user.
Thanks, there will be multiple ways to do same thing, user can choose whichever they find the easiest...
Comments
Thanks, there will be multiple ways to do same thing, user can choose whichever they find the easiest...
Adding an example of such systemd file - https://gist.github.com/drmalex07/c0f9304deea566842490
Definitely not updated with the same frequency as systemd... https://salsa.debian.org/debian/autossh