Re:Show HN: Tmux-restore saves tmux windows and agent sessio...
by ShinyLeftPad on Friday November 06, 2026 @11:59PM
(#50401769)
What are the risks?
Re:Show HN: Tmux-restore saves tmux windows and agent sessio...
by jauntywundrkind on Saturday November 07, 2026 @12:29AM
(#50401918)
If there's anything sensisitve open on a tmux window somewhere it's just sitting in a file in your hard drive. It's overwritten every 10 minutes by whatever is there.
If that's a password for some reason, it could be captured.
I just thought it was going to be the sessions, window names, layouts. I wasn't expecting the content too. Not a big deal for me, but a surprise!
Re:Show HN: Tmux-restore saves tmux windows and agent sessio...
by ShinyLeftPad on Saturday November 07, 2026 @05:45AM
(#50403362)
Ooh yeah. Very good point
https://github.com/tmux-plugins/tmux-continuum https://github.com/tmux-plugins/tmux-resurrect
Also used tpm, the plugin manager. There's some variants. I went with ahiru-tpm which is pretty drop in compatible but not seeing much action, and tpm seems more active again. https://github.com/tmux-plugins/tpm https://github.com/x3rAx/ahiru-tpm
One of the weird cool (but also, wish I'd known, has risks!) things I wasn't expecting is that captures the screen buffer. The program is dead, but there it is, whatever was last there, when you reboot. Wild.
I've had some system instability some, alas (blast you ram crunch), and did everything under the sun to build tools to capture my workspace. This, this was way way easier.