Friday, July 19, 2019

How to keep running a process after ending ssh session



ssh into your remote server.
start screen.


$ screen 

Start the process .

$ run any process

Then Press Ctrl-A then Ctrl-D. This will detach your screen session but leave your processes running.
You can now log out from the remote server.

When you like to come back to monitor your process, then log on again to the remote server  and type screen -r.
 This will resume your screen session,

You can Check your previous process.