- SSH to remote
- on remote, run "screen"
- get disconnected from remote
- SSH to remote, .bashrc runs "screen -DR" and you resume from where you left off
You only have to create the initial screen session once, and it persists until you explicitly shut it down or restart the remote machine.