Re:Closing a Stale SSH Connection
by bullen on Monday April 10, 2023 @04:41AM
(#35510348)
I would love the opposite, how to keep a SSH connection alive when sleeping the computer? XD
[ Parent
| on HN ]
Re:Closing a Stale SSH Connection
by selfhoster69 on Monday April 10, 2023 @04:46AM
(#35510377)
On a desktop machine, sure... but on a laptop, I'd want it to enter sleep and subsequently deep sleep when I close the lid or lock it.
Re:Closing a Stale SSH Connection
by TwoNineFive on Monday April 10, 2023 @05:01AM
(#35510442)
Using a tmux or screen session to maintain persistence instead might be a better idea, depending on your use case.