Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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:
http://www.kuro5hin.org/story/2004/3/9/16838/14935

share|improve this answer
add comment

Your Answer

 
discard

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.