how to interrupt a stuck ssh connection
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?
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)