Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to recover a gnome-terminal tab that got disconnected from ssh connection? Whenever I get disconnected from the ssh connection in a gnome-terminal tab, that window doesn't respond to keyboard strokes anymore. I don't want to recover the ssh connection, just be able to still use the tab after disconnection.

share|improve this question
How did you open the new tab? If it was a shell tab then you should get back to the shell (if still in ssh, use ~. to close it). What would you like to do with tis tab? Why not just open a new one? – Cougar Mar 14 '12 at 10:14
up vote 3 down vote accepted

The OpenSSH ssh client has an "exit" command Enter ~ ., inherited from rsh.

share|improve this answer
works like a charm! Thanks! – 719016 Mar 20 '12 at 10:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.