How to kill an unresponsive SSH session
The default escape character ~ does not work if the tilde key in your keyboard layout is a dead key [1], like it is in many European layouts. It can be changed via the EscapeChar config option or the -e command line parameter. It seems, though, that not just any old character is accepted - I tried to use §, which, in the Finnish layout, is in the same physical position as ~ is in the US version, but ssh complains about "bad escape character".<p>EDIT - I suppose it must be an ASCII character, which is not an entirely unreasonable requirement.<p>[1] <a href="http://en.wikipedia.org/wiki/Dead_key" rel="nofollow">http://en.wikipedia.org/wiki/Dead_key</a>