Oooops i just typed "ip link set eth0 down" while i was sshed into a server. that ssh session is now stuck for the timeout. Is there a key I can press to kill the ssh session with out waiting for the timeout?

link|improve this question

65% accept rate
Depends on which client you're using. Are you using Putty? Or a *nix client? – Mark Henderson Mar 30 '10 at 22:59
it is a Linux client – Arthur Ulfeldt Mar 31 '10 at 0:41
feedback

1 Answer

up vote 10 down vote accepted

Assuming you're on some kind of Unix/Linux/OS X and running 'ssh' from a terminal;

<enter> ~. 

(also ~? will show you lots of other sometimes helpful keys)

link|improve this answer
Finally, something that actually works. I'd +10 if I could. – jcollum Dec 29 '11 at 2:05
feedback

Your Answer

 
or
required, but never shown

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