|
|
|
|
|
by jimrandomh
2455 days ago
|
|
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! |
|