Re:Closing a Stale SSH Connection
by donio on Sunday April 09, 2023 @02:27PM
(#35505159)
I run ssh in a loop and auto-attach to a persistent tmux session on the other end. I also kill ssh processes as part of suspend so that the new one gets launched in the loop as soon as we wake up.
[ Parent
| on HN ]
Check out autossh(1)!