screen to start a session
Ctrl-a d to detach the session while you are connected
screen -ls to list currently running sessions
screen -rx <session_id> to attach the session, one can use TAB for the autocompletion or skip the <session_id> if there is only one session running
tmux is a newer program with the same style. It has some extra features and some missing features still.