|
|
|
|
|
by usr1106
1611 days ago
|
|
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. No need to install an extra package. No idea whether it is maintained or not, but I know systemd is, both upstream and in the distro. |
|
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
> No need to install an extra package. No idea whether it is maintained or not, but I know systemd is, both upstream and in the distro.
Definitely not updated with the same frequency as systemd... https://salsa.debian.org/debian/autossh