Thank to user4556274 for the link to tmux,
for all like me who never heard of tmux and the concept of terminal multiplexing.
Is a bit like a window manager for the console. Typical use case it to start working from one place on a remote machine, then move(fly) to another place and reconnect from there to exactly pick up your session from before. So it just covers my use case.
However, in order to work you need to start tmux before you start doing stuff in your session. So if you forget, its no help to get back to the other session.
However, from what I read in the net it seems most people with those kind of use cases seem to get a hang of using tmux as a default.
Note: i found most google results more confusing than helpful. They lost me right away. The one that got me the very brief top-top-top-level overview was this one, maybe its also helpful for others.
tmux
for this purpose.