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

Interesting! I previously tried to do this with autossh, which seems like it does approximately the same thing, but autossh didn't seem to work in my use case. That use case being, I have a laptop with VMs, and ssh tunnels between the host and the VMs; when the laptop goes to sleep, sometimes the connections break when the laptop wakes up, because some timeout expired and sleeping hosts can't send or receive keepalives. I'm not sure why autossh didn't work, but I'll give this one a try!


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: