Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run and check on apps (like rtorrent) running on server via ssh. I'd prefer not to use background/foreground stuff. What I really want to do is have a screen session on this server all the time and attach/detach/reattach remotely, but I'm not sure how to do that.

Anyone have any ideas?

share|improve this question

Here's a quick rundown, but a screen tutorial will get you farther:

'screen' invokes it, and you use ctrl-a then d to disconnect (and leave it running)

'screen -ls' lists open sessions

'screen -r' connects to a disconnected session.

'screen -x' connects to an active session (if you want to run two terminals at once)

Here's a screen tutorial:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.