Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think this is actually superior to autossh. Doesn’t autossh not restart after crash/reboot?



You could run autossh as a systemd service that starts on boot. :-)


I think you meant this as a joke, but this is what we landed on about a decade ago and it was the most reliable setup we found.


It doesn't by default, but you can set the AUTOSSH_GATETIME environment variable to 0 so that autossh retries even if the first connection attempt fails.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: