I start telnet by
telnet host port. How do I stop it in Windows? Shockingly, Ctrl+C doesn't work.
It should have printed something along the lines of:
Escape character is '^]'.
^X is CtrlX, try Ctrl] for
You should then enter the telnet console, where you can enter
quit to leave telnet.
quit to exit telnet in windows.
^]means ctrl + right bracket. As strange as that is, it works. You'll be taken to the telnet prompt, where you can type
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 + ç
Quote from @jtbandes answer here: https://superuser.com/a/427/192525 All creds to him.
PS: Answer reproduced here for your convenience, since google took me to this question first, and none of the other answers here was sufficient for my case. The question How to send the escape character on OS X terminal? could be seen as a duplicate (more generic version) of this question, since the OP's problems are basically the same.
protected by Community♦ Apr 20 '15 at 6:12
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?