Stalled ssh Session?

Posted in Inside TFG

Sometimes you’re working on a server remotely and the ssh connection gets interrupted. Usually when that happens, ssh will stall until the socket times out and you’re stuck with an unresponsive terminal. To get back to the terminal from your stalled ssh session, use this key sequence:

<enter>
<enter>
<enter>
<shift-tilde>
<period>

2 Comments

  • mlambie

    Nov 6, 2008

    Does this close the SSH session on the remote server, or just “disconnect” it from your local terminal? Is this for Terminal.app on Mac, or does it work in gnome-terminal, putty or other terminal emulators too?

  • mhale

    Nov 6, 2008

    It’s a client-side disconnect for the ssh command line client, rather than server side (eg. when you type “exit” on the server). It’s independent of your terminal software. Bear in mind that Putty does not use the ssh command line client, it is its own ssh client.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Twitter

The latest @rubyfive podcast is up, our own @sj26 receiving a mention for Ruby 1.9.3 performance improvements. http://t.co/hfx3EPMz

@frontiergroup about 1 day ago #

Search Posts

Featured Posts

Categories

Archives

View more archives