I use Ubuntu btw. Poweroff could use more write cycles on the SSD because it has to read everything at startup, but suspend has to keep supplying power to the RAM
I use Ubuntu btw. Poweroff could use more write cycles on the SSD because it has to read everything at startup, but suspend has to keep supplying power to the RAM
If you can run
tmux
on the remote system, can manually reattach when you reconnect.If you use the UDP-based mosh instead of the TCP-based
ssh
— it uses ssh to bootstrap auth, then hands off to its own protocol — (a) the system can use local prediction in some cases, leaving it feeling snappier, but also (b) the thing will automatically reconnect and resume sessions. I mostly find it useful on flaky/slow links, but it is also kind of neat to just close a lid, and then pop it open again days or a week later and then just resume working without any user-visible disruption.I normally use
mosh
in conjunction withtmux
, since withmosh
alone, there’s no way for another host to reconnect to amosh
session…but another host can connect and take over atmux
session being run by amosh
session.I do use tmux daily and have a session that connects to most my other sessions.