Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I start telnet by telnet host port. How do I stop it in Windows? Shockingly, Ctrl+C doesn't work.

share|improve this question
1  
Welcome to the trenches, nothing is "shocking" on Windows. – Pacerier Jul 3 '15 at 4:15
    
@Pacerier telnet predates Windows, and Microsoft had excellent UI standards in the 80s and 90s. – Cees Timmerman Jan 7 at 13:07
up vote 194 down vote accepted

It should have printed something along the lines of:

Escape character is '^]'.

Since ^X is CtrlX, try Ctrl] for ^].

You should then enter the telnet console, where you can enter quit to leave telnet.

share|improve this answer
8  
on Windows, run telnet with out arguments to see what the escape character is. On some localized Windows versions where ] is only available with Alt Gr key, the key combination is Ctrl++. – mihi Oct 11 '12 at 18:24
11  
As far as I remember Ctrl+5 was equivalent with ^] on my (Norwegian) keyboard. – hlovdal Oct 12 '12 at 8:34
3  
Ctrl+¨ on Windows 7 and sv/fi layout. – mkataja Nov 3 '13 at 0:11
7  
On Ubuntu Ctrl + ], quit worked for me – user1527227 Jun 19 '14 at 20:31
2  
On my swedish keyboard it was Ctrl+¨ – Krycke Mar 16 at 11:05

Type quit to exit telnet in windows.

share|improve this answer
1  
Worked on MacOS X as well ;) – karlingen Jun 13 '14 at 7:13
    
Also works in Linux. – 에이바 Jan 30 '15 at 18:45
    
From @Isaac: This also works on Windows 8.1. – fixer1234 Apr 20 '15 at 5:21
1  
@Alexander you have to press Ctrl + ] and only then when telnet> prompt appears enter quit. – Gacha Dec 29 '15 at 11:58
1  
For some reason I get Microsoft Telnet> ^] Invalid Command. type ?/help for help but quit works. Thanks. – crclayton Feb 9 at 0:41

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.

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

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