Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
polalavik
9 months ago
|
parent
|
context
|
favorite
| on:
Autossh – automatically restart SSH sessions and t...
I think this is actually superior to autossh. Doesn’t autossh not restart after crash/reboot?
pferde
9 months ago
|
next
[–]
You could run autossh as a systemd service that starts on boot. :-)
svnt
9 months ago
|
parent
|
next
[–]
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.
LaputanMachine
9 months ago
|
prev
[–]
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: