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

2 Answers 2

up vote 86 down vote accepted

It should have printed something along the lines of

Escape character is '^]'.

If it is ^], try to press Ctrl+] (^X being equivalent to Ctrl+X). You should then enter the telnet console, where you can enter quit to leave telnet.

share|improve this answer
7  
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
7  
As far as I remember Ctrl+5 was equivalent with ^] on my (Norwegian) keyboard. –  hlovdal Oct 12 '12 at 8:34
    
Ctrl+¨ on Windows 7 and sv/fi layout. –  mkataja Nov 3 '13 at 0:11
3  
On Ubuntu Ctrl + ], quit worked for me –  user1527227 Jun 19 at 20:31

Type quit to exit telnet in windows.

share|improve this answer
    
Worked on MacOS X as well ;) –  karlingen Jun 13 at 7:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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