How to leave a session open so that the job

you started running on SSH continues even when you are disconnected.

1. Start a screen session


2. Start the job you want to run


3. Detach screen using the following key combination

Press ctr + a then d

4. To resume screen session

screen -r
  • The screen session can use a different bash_profile than the original computers. Source bash_profile to load the same environment.
    source .bash_profile