Solved

How to recover dropped SSH session on Debian?

Posted on 2007-03-18
2
1,630 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now