What you can do is use screen or tmux so that your session opens on the server.
If you simply type screen
, a terminal multiplexer will be launched, which will support the session, even if you turn off the console.
Once you reconnect to the console, you can return the session with screen -dr
source share