Want to see what people are talking about? See the latest forum posts.
*/
*/

The Official Programmer's Heaven Blog

Theme Graphic
Theme Graphic

The Official Programmer's Heaven Blog

The blog where the Programmer's Heaven team post stuff.

Subscribe

Author

Often knowledgable, sometimes wise, occasionally funny. The Programmer's Heaven blog team post about a whole range of topics, from practical advice on concurrency control to introductions to lesser known concepts such as functional programming. Don't forget to comment on the posts and let them know what you think, like and hate!

Archive

Tags


Delete Blog
Posted on Monday, November 05, 2007 at 4:57 AM

Using screen To Survive SSH Disconnects

You've used SSH to log into a shell account on a remote Linux or UNIX server and are happily waiting for a large download or a long compile to complete. All of a sudden, the connection between you and the server is dropped. You log back in, but what you were doing has stopped and you'll have to start again. How annoying!

Recently I have started using screen. This allows you to start additional terminals that you can attach to and detach from. Being able to switch between them means that you can be running a large compile or download and still be able to get on with other things. That's nice, but what is really cool is that these terminals will last between your SSH sessions.

This means that you can start a screen terminal, do some work in it, detach from it, log out, go to another computer, log in again, re-attach to the terminal and it's as if nothing ever happened. If your connection is dropped, then the screen terminal will still be there too - just reconnect, re-attach and keep going...
Comments: 9 Tags: IRC, Linux, SSH, UNIX, screen


corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings