4 ms·
I think this is actually superior to autossh. Doesn’t autossh not restart after crash/reboot?
by polalavik 2y ago
I think this is actually superior to autossh. Doesn’t autossh not restart after crash/reboot?
- LaputanMachine 2y agoIt 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.
- pferde 2y agoYou could run autossh as a systemd service that starts on boot. :-)
- svnt 2y agoI 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.