Solved

How to recover dropped SSH session on Debian?

Posted on 2007-03-18
2
1,634 Views
Last Modified: 2013-12-16
I had a ssh session open on my Debian server.  I was watching an installation process and walked away from my computer.  When I returned, I found that my nhetwork had burped and I had lost my connection, but that the text that remains on the screen shows that the installation was not complete and was waiting for input from me.  Is there any way to get that session back so I can complete the installation?

Thanks!
0
Comment
Question by:boydicus
2 Comments
 
LVL 24

Accepted Solution

by:
slyong earned 500 total points
ID: 18745113
I don't think you can recover a dropped SSH session.  However the suggestion is that next time you do something like that use "screen".  There is a write up on how to use screen here http://www.rackaid.com/resources/tips/linux-screen.cfm.  If you get dropped from SSH, you can recover by going into the screen session.
0
 

Author Comment

by:boydicus
ID: 18745259
Thank you very much for that suggestion, I am checking screen out now.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question