Did you try using tmux? Trying using it as it’s superior to screen.
To get the same functionality as explained in the answer recommending
screen, you would need to do the following:
- ssh into the remote machine
tmux by typing
tmux into the shell
- start the process you want inside the started
- leave/detach the
tmux session by typing Ctrl+B and then D
You can now safely logoff from the remote machine, your process will keep running inside
tmux. When you come back again and want to check the status of your process you can use
tmux attachto attach to your
If you want to have multiple session running side-by-side you should name each session using Ctrl-B and $. You can get a list of the currently running sessions using
tmux can do much more advanced things then handle a single window in a single session.