Windows – keyboard shortcut to quit ‘telnet’

telnetwindows

on Windows XP/server 2003

When telnet some remote host on a specified port, after connection established, sometimes press ctrl+] doesn't quit. Is there any command can quit instead of just close the command line window? Thanks.

EDIT:
But sometimes even type ctrl + ], telnet command line doesn't show up, still stuck at the blank screen.

Best Answer

ctrl+] is an escape sequence that puts telnet into command mode, it doesn't terminate the session. If you type close after hitting ctrl+], that will "close" the telnet session.