ive tried screen in this way:
then
this opens pan instance on my computer remotely then ive tried ctrl+a+d to detach it, and it says detached, then i closed the instance which popped up on my screen locally when i started the instance via ssh and instance instantly terminates on the server when i do screen -r
i want that when i close the instance locally that it still will run on the server and when i do screen -r that i still will be able to access running instance and get that same instance again on my screen locally.
is that possible via screen? if so im wondering what i have done wrong?