Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
Welcome to the trenches, nothing is "shocking" on Windows. –  Pacerier Jul 3 at 4:15

2 Answers 2

up vote 136 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
10  
As far as I remember Ctrl+5 was equivalent with ^] on my (Norwegian) keyboard. –  hlovdal Oct 12 '12 at 8:34
2  
Ctrl+¨ on Windows 7 and sv/fi layout. –  mkataja Nov 3 '13 at 0:11
4  
On Ubuntu Ctrl + ], quit worked for me –  user1527227 Jun 19 '14 at 20:31
    
Doesn't work. It says: Microsoft Telnet> ^] and next line shows: Invalid Command. type ?/help for help –  Pacerier Jul 3 at 4:19

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 at 18:45
    
From @Isaac: This also works on Windows 8.1. –  fixer1234 Apr 20 at 5:21
    
Only this works to me. –  Felipe Micaroni Lalli May 11 at 4:24

protected by Community Apr 20 at 6:12

Thank you for your interest in this question. Because it has attracted low-quality answers, 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.