Current area: HOME -> Blogs -> pheaven's Blog

The Official Programmer's Heaven Blog

The blog where the Programmer's Heaven team post stuff.
Using screen To Survive SSH Disconnects
Posted on Monday, November 05, 2007 at 4:57 AM
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.

Read More
Tags: IRC, Linux, SSH, UNIX, screen

Subscribe

RSS Feed RSS Feed

By Tag

.NET Algorithm alpha five C# C# 3.0 DLinq Higher Order Programming Java Lambda Expressions Linq Linux MySQL Performance Perl Programming SSH Test Driven Develoment Testing Threading UNIX

By Month

April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007

Help

Check out the Blog FAQ.


Sponsored links

Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize Delphi software in three simple steps
Localize Delphi VCL & .Net apps visually. Plus HTML, HTML Help, XML & databases. Try Sisulizer now!
Web based bug tracking - AdminiTrack.com
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
Computer Professionals: Are you owed Overtime?
Federal and State Laws may allow computer professionals to collect overtime. Our law firm is experienced, and has initiated class action lawsuits against some of the largest computer companies to collect back pay and overtime. Strictly Confidential.
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.


Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd 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 Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.