Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Connecting with telnet looks like this:

$ telnet
Connected to
Escape character is '^]'.

I'm running this on the OS X Leopard terminal. Question is, how do I send this escape character? On a Linux terminal I'd try ESC-5 or CTRL-5, but I cannot figure out how to do this on OS X.

share|improve this question
up vote 53 down vote accepted

The ^] means ctrl + right bracket. As strange as that is, it works. You'll be taken to the telnet prompt, where you can type quit.

On international keyboards the ] character is often not a single key, and needs to be replaced with some other key. The correct key is typically the key to the right of P or the next key after that.

Here's a list based on comments below:

  • Finnish, Swedish, Norwegian, Danish: ctrl + å
  • French: ctrl + 6
  • German: ctrl + ü
  • Swiss: ctrl + ¨
  • Hungarian: ctrl + 5
  • Portuguese: ctrl + ´
  • Dutch, Belgian: ctrl + $
  • Canadian French: ctrl + ç
share|improve this answer
Ahhh, of course. Except that with my Finnish keyboard layout, it's control + å. Naturally. Thanks :) – Ville Laurikari Jul 15 '09 at 8:53
And on the french keyboard it’s ctrl-6. – kmkaplan Feb 5 '11 at 18:58
On German Keyboard on OSX it is CTRL-Ü (Umlaut U) – user92238 Jul 29 '11 at 18:54
On a Swiss Keyboard it is Ctrl-¨. Why o why did the telnet developer need to use the group separator GS. So difficult to type on foreign keyboards. – Martin May 8 '12 at 15:31
on Hungarian (and many more) it is Ctrl+5 – törzsmókus May 15 '12 at 10:13

You must log in to answer this question.

protected by Community Jul 29 '11 at 20:04

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .