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?

link|improve this question

65% accept rate
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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