• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can I retrieve my disconnected SSH session?

Atheus

Diamond Member
Hi all

my SSH (PuTTY) session disconnected halfway through an apt full-upgrade on a debian Etch box. I still have to hit enter and 'y' a few times before the process can complete and I really don't want to just kill the process and start all over again...

Any ideas how I can get that session back?

I do also have physical access to the machine if nescesary.
 
Last edited:
Not that I know of. Once tcp is broken you'd have to do a key exchange/session start.
I wouldn't kill the session unless you were absolutely sure.
 
I never do anything like that outside of tmux (or screen if I'm desperate). Had to restart too many long running processes due to bad connections to ever be without one of those programs.
 
Oh damn you're right - aptitude died with the session 🙁

Thanks for the recommendations anyway I'll look into screen.
 
Oh damn you're right - aptitude died with the session 🙁

Thanks for the recommendations anyway I'll look into screen.

Yea, when a shell dies all of it's children get a HUP signal which, unless the app does something special to handle the signal, causes it to exit.
 
Back
Top