You’re probably here because you heard screen is a more “safe” way to ssh, so that a broken connection won’t terminate your processes. Here’s how to do it:
This is a companion discussion topic for the original entry at http://amir.rachum.com/blog/2013/05/10/using-screen-the-absolute-essentials/
I prefer to name my screen sessions. screen -S Blah that way when you re-connect you can just do: screen -x Blah I work with others that use screen and this makes it easier.
I prefer to reconnect with screen -dRr screen-name as this logs out other sessions and reconnects.