« Slashdot (useful) stupid unix tricks #2 - Reset your shellI'm famous! »

Slashdot (useful) stupid unix tricks #1 - Escape a locked SSH session

11/19/08

Permalink 12:56:19 pm, by admin Email , 103 words   English (US) latin1
Categories: Technology, Unix, Mac, BSD, Linux

Slashdot (useful) stupid unix tricks #1 - Escape a locked SSH session

Link: http://ask.slashdot.org/comments.pl?cid=25667315&sid=1019609

Here's an old trick carried over to SSH from the olden days of rsh.

You've got an ssh session open, and for some reason your terminal isn't responding to you anymore. Maybe you've rebooted the host and it didn't kick you out first or any number of other things. It doesn't matter. You need your terminal back.

Simply hit <enter> ~ . and you're back in business. A lot of documents describe using <enter> <enter> <enter> ~ . but that's just to make sure your session is really not responding before forcing the disconnect. Good practice, but not required.

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
This is for Unix articles.

Search

XML Feeds

Click some ads

google search

powered by b2evolution