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".EDIT - I suppose it must be an ASCII character, which is not an entirely unreasonable requirement.[1] http://en.wikipedia.org/wiki/Dead_key