Skip to content

Instantly share code, notes, and snippets.

@datwright
Created February 23, 2011 15:08
Show Gist options
  • Save datwright/840529 to your computer and use it in GitHub Desktop.
Save datwright/840529 to your computer and use it in GitHub Desktop.
Running a long remote process using screen without having to worry about disconnecting
ssh blah@theserver.com
screen # start new screen session
do-your-process
# Press CRTL-a, d -- detaches from new screen session
exit
ssh blah@theserver.com
screen -r #resume previous screen session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment