You can use "screen" too
Since we are on the screen topic, hope you don't mind I squeeze in this question:
I check my rig via SSH and the last time it crashed (overall reported hashrate by pool dropped to 0, so I went and had a look), I did screen -r and it reported back there was no screen to reattach. So, from other people's experience with running cgminer under screen: How stable is screen? Any only else encountered this?
I have been using screen reliably since I started mining 15 months ago. I have never seen screen crash. I have seen no screen available messages a couple times, when trying to do screen -r, but that always meant that cgminer, itself, crashed (screen exits when the command it started exits. I know it these were cgminer crashes because my shell script that wraps the start and stop logs the start time immediately before cgminer starts and the stop time immediately after it exits. The current iteration of my shell script actually has a loop in it that restarts cgminer if it ever exits instead of just exiting itself, and since then I have never seen screen not be available when attaching to it.