I am connecting to a linux machine exclusively over SSH. Recently I noticed that no matter what process is running in terminal, every time I close and reconnect through SSH the process may or may not still be running but I still get a fresh terminal instance over SSH and can't access the old one.So this isn't the actual problem, because what I want is to be able to open another tab (or an equivalent) in the terminal my SSH connection already opened. So I can start e.g. a daemon there and switch to that tab to check on its status while I do different things in the main tab. Is there a possibility like this?Note however: I connect from an SSH client on my Android phone. So I can't just open another tab there by typing xterm & or something similar that easily.
Opening terminal tabs through SSH
ssh;terminal;session
You will need a terminal multiplexing program, like screen or tmux to have more than one terminal session open on one connection.Another benefit from those, is that the session remains if the connection gets interrupted.https://www.gnu.org/software/screen/https://tmux.github.io/