How to keep processes running after ending ssh session

There are few simple steps to achieve this, follow the steps.

SSH into your remote server and type [screen] then start the job/process you want to keep running after leaving Shell.


Now press Ctrl-A then Ctrl-D. Doing so your screen session will be detach but your process will be keep running.

You are now good to exit the SSH.

If you want to come back to the process later, type [screen -r], this will resume your screen session with the output of your process.

screen -r
Author: Danyal
I'm working as programmer since 2002. Born, grew up, studied and worked in Pakistan now Im located in Denmark since 2006.