[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to recover dropped SSH session on Debian?

Posted on 2007-03-18
2
Medium Priority
?
1,685 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month18 days, 17 hours left to enroll

834 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