Linked by Thom Holwerda on Thu 30th Aug 2012 23:11 UTC, submitted by MOS6510
Linux "You are logged into your remote server via SSH and happily plucking along at your keyboard and then it happens. Suddenly, the characters stop moving and then you get the dreaded 'Connection Closed' message. You have just lost your session. You were halfway through some task and now you have to start over. Ugh. Well you can prevent this from happening by using screen. The Linux screen tool can not only save you from disconnection disasters, but it also can increase your productivity by using multiple windows within one SSH session. I use this tool all of the time in our server management work." An older tutorial, and even though I have little to no knowledge about screen, I know one thing: lots of people swear by it.
Thread beginning with comment 533343
To read all comments associated with this story, please click here.
Personally, I like tmux better.
by beowuff on Thu 30th Aug 2012 23:17 UTC
Member since:

But they are both awesome tools. I always recommend them to people new to cli.

Reply Score: 7

cb88 Member since:

tmux really is better... I've used it extensively to keep the sessions on my sparcstation open even if the ssh connection craps out.

It would be nice if it were a bit more integrated into ssh so that it could resume connections automatic ie when on a cellular or intermittent wifi connection.

The keyboard usage on tmux seems a bit more polished to me I suppose thats the main thing.

Edited 2012-08-31 01:03 UTC

Reply Parent Score: 6

broken_symlink Member since:

I do this with screen, but I'm sure the same thing would probably work with tmux. Here's how,

Someone already seems to have modified the above to work with tmux,

Edited 2012-08-31 02:11 UTC

Reply Parent Score: 2

tidux Member since:

That might be exactly what you're looking for.

Reply Parent Score: 2