Connecting with telnet looks like this:

$ telnet some.host
Trying 10.1.2.3...
Connected to some.host.
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.

link|improve this question
feedback

1 Answer

up vote 11 down vote accepted

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

link|improve this answer
Ctrl+] is right! – Mark Turner Jul 15 '09 at 8:51
3  
Ahhh, of course. Except that with my Finnish keyboard layout, it's control + å. Naturally. Thanks :) – Ville Laurikari Jul 15 '09 at 8:53
1  
And on the french keyboard it’s ctrl-6. – kmkaplan Feb 5 '11 at 18:58
2  
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 at 15:31
show 1 more comment
feedback

protected by Community Jul 29 '11 at 20:04

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

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