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.
Permalink for comment 533374
To read all comments associated with this story, please click here.
broken_symlink
Member since:
2005-07-06

I do this with screen, but I'm sure the same thing would probably work with tmux. Here's how, http://taint.org/wk/RemoteLoginAutoScreen

edit:
Someone already seems to have modified the above to work with tmux, http://william.shallum.net/random-notes/automatically-start-tmux-on...

Edited 2012-08-31 02:11 UTC

Reply Parent Score: 2