I start telnet by telnet host port
. How do I stop it in Windows? Shockingly, Ctrl+C doesn’t work.
asked Oct 11, 2012 at 17:46
3
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.
Pacerier
26.8k83 gold badges199 silver badges274 bronze badges
answered Oct 11, 2012 at 17:57
ClaudiusClaudius
8,8281 gold badge16 silver badges13 bronze badges
32
Type quit
to exit telnet in windows.
Indrek
24.2k14 gold badges90 silver badges93 bronze badges
answered Oct 11, 2012 at 17:51
Richie086Richie086
5,15212 gold badges42 silver badges65 bronze badges
8
The
^]
means ctrl + right bracket. As strange as that is,
it works. You’ll be taken to the telnet prompt, where you can type
quit
or simplyq
.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:
- Norwegian: ctrl + å
- Danish, Finnish, and Swedish: ctrl + ¨ [added by Fredrik C]
- French: ctrl + 6
- German, Turkish: ctrl + ü
- Swiss: ctrl + ¨
- Hungarian: ctrl + 5 or ctrl + ú
- Portuguese: ctrl + ´
- Dutch, Belgian: ctrl + $
- Canadian French: ctrl + ç
- Italian: 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.
answered Sep 1, 2017 at 8:32
MagneMagne
7265 silver badges9 bronze badges
13
On debian 9, typing :
Ctrl + $
Allows you to show the prompt from telnet, then only type :
q
To exit
answered Jan 6, 2020 at 14:44
2
all previous answers correct but for this worked:
Ctrl + ]
then I typed
quit
answered Aug 10, 2022 at 16:15
grepitgrepit
2131 silver badge6 bronze badges
«How do I stop it in Windows?»
I miss the good old ALT + 29 ¹ on the numeric keypad. And then «quit».
This works since DOS and (should) work across all KB layouts in windows.
Tested 2023 with a Greek Island layout on windows 11.
¹ With ALT + number on numpad you get all ASCII codes.
^A is 1, ^B is 2 … ^[ is 27 (as ESC) and finally ^] is 29
ALT + 64 -> @
ALT + 64 -> A
answered Sep 21 at 23:17
halfbithalfbit
1131 silver badge6 bronze badges
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
I start telnet by telnet host port
. How do I stop it in Windows? Shockingly, Ctrl+C doesn’t work.
asked Oct 11, 2012 at 17:46
3
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.
Pacerier
26.8k83 gold badges199 silver badges274 bronze badges
answered Oct 11, 2012 at 17:57
ClaudiusClaudius
8,8281 gold badge16 silver badges13 bronze badges
32
Type quit
to exit telnet in windows.
Indrek
24.2k14 gold badges90 silver badges93 bronze badges
answered Oct 11, 2012 at 17:51
Richie086Richie086
5,15212 gold badges42 silver badges65 bronze badges
8
The
^]
means ctrl + right bracket. As strange as that is,
it works. You’ll be taken to the telnet prompt, where you can type
quit
or simplyq
.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:
- Norwegian: ctrl + å
- Danish, Finnish, and Swedish: ctrl + ¨ [added by Fredrik C]
- French: ctrl + 6
- German, Turkish: ctrl + ü
- Swiss: ctrl + ¨
- Hungarian: ctrl + 5 or ctrl + ú
- Portuguese: ctrl + ´
- Dutch, Belgian: ctrl + $
- Canadian French: ctrl + ç
- Italian: 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.
answered Sep 1, 2017 at 8:32
MagneMagne
7265 silver badges9 bronze badges
13
On debian 9, typing :
Ctrl + $
Allows you to show the prompt from telnet, then only type :
q
To exit
answered Jan 6, 2020 at 14:44
2
all previous answers correct but for this worked:
Ctrl + ]
then I typed
quit
answered Aug 10, 2022 at 16:15
grepitgrepit
2131 silver badge6 bronze badges
«How do I stop it in Windows?»
I miss the good old ALT + 29 ¹ on the numeric keypad. And then «quit».
This works since DOS and (should) work across all KB layouts in windows.
Tested 2023 with a Greek Island layout on windows 11.
¹ With ALT + number on numpad you get all ASCII codes.
^A is 1, ^B is 2 … ^[ is 27 (as ESC) and finally ^] is 29
ALT + 64 -> @
ALT + 64 -> A
answered Sep 21 at 23:17
halfbithalfbit
1131 silver badge6 bronze badges
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
-
1
Open your Command Prompt window. This should be the Command Prompt window in which your Telnet server is running.
-
2
Make sure Telnet is active. If you see «Microsoft Telnet>» on the bottom-left side of the list of commands, Command Prompt is running the Telnet console.
- If you see your username (or «system32») here instead, Telnet has already been exited.
Advertisement
-
3
Enter the «Close Server» command. Simply type in close and press ↵ Enter. This will close your Telnet server.
-
4
Enter the «Quit» command. Type in quit, then press ↵ Enter.[1]
- You can also just type in q and press ↵ Enter.
-
5
Wait for the normal Command Prompt window to appear. You should eventually see the «Microsoft Telnet>» prompt on the left side of the window disappear; it will be replaced by the Command Prompt tag which is either your username or «sytem32>».
-
6
Close and re-open Command Prompt if necessary. If you can’t get the Telnet console to switch back to Command Prompt, you can simply click the X in the top-right corner of Command Prompt to close it and then re-open Command Prompt. This will get rid of the Telnet console.
Advertisement
-
1
Open Start
. Click the Windows logo in the bottom-left corner of the screen. The Start menu will pop up.
-
2
Open the «Windows Features» section of Control Panel. Type turn windows features on or off into Start, then click Turn Windows features on or off at the top of the Start window.
- You may need to click the Control Panel icon that appears in the taskbar at the bottom of the screen in order to open its window.
-
3
Scroll down and uncheck the «Telnet Client» box. It’s in the «T» section of the menu, near the bottom of the page.
-
4
Click OK. This option is at the bottom of the window. Your computer will begin disabling Telnet.
- This will take several minutes.
-
5
Click Close when prompted. Doing so signifies that Telnet has been disabled by your computer.
-
6
Restart your computer. Click Start
, click Power
, and click Restart in the resulting pop-up window. Once your computer finishes restarting, Telnet should be completely disabled.
Advertisement
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
-
Telnet is commonly used for remotely managing servers, though some other uses include setting up ports and checking online files.[2]
Thanks for submitting a tip for review!
Advertisement
-
While it used to be available on Mac computers, Telnet is not supported by Macs running macOS High Sierra and up.[3]
Advertisement
References
About This Article
Article SummaryX
1. Go to the Telnet Command Prompt window.
2. Type in close and press Enter to close the server.
3. Type in quit and press Enter to close the Telnet console.
Did this summary help you?
Thanks to all authors for creating a page that has been read 43,767 times.
Is this article up to date?
3 ответа
он должен был напечатать что-то вроде:
Escape character is '^]'.
С ^X
is CtrlX попробуй Ctrl] на ^]
.
вы должны войти в консоль telnet, где вы можете ввести quit
покинуть telnet.
361
отвечен Claudius 2022-11-17 04:20
тип quit
для выхода из telnet в windows.
76
отвечен Richie086 2022-11-17 06:37
^]
означает ctrl + правая скобка. Как бы странно это,
это работает. Вы попадете в подсказку telnet, где можно ввести
quit
.международные клавиатуры символ ] часто не один ключ,
и должен быть заменен на какой-то другой ключ. Правильный ключ
обычно это ключ справа от P или следующий после него.вот список, основанный на комментариях ниже:
- Финский, Шведский, Норвежский, Датский: ctrl + å
- французский: ctrl + 6
- немецкий: ctrl + ü
- швейцарские: ctrl +
- венгерский: ctrl + 5
- португальский: ctrl +
- Голландские, Бельгийские: ctrl + $
- Канадский Французский: ctrl + ç
цитата от @jtbandes ответ здесь: https://superuser.com/a/427/192525
Все документы к нему.
PS: ответ воспроизведен здесь для вашего удобства, так как google взял меня на этот вопрос первым, и ни один из других ответов здесь не было достаточно для моего случая. Вопрос как отправить символа на ОС X-терминал? может рассматриваться как дубликат (более общая версия) этого вопроса, поскольку проблемы OP в основном одинаковы.
10
отвечен Magne 2022-11-17 08:54
Hello there 👋
Like me, you have started a telnet connection through the terminal and have no idea how to close it 🤣
If you currently don’t have an active telnet connection, you can start one on the terminal by typing:
$ telnet address port
Enter fullscreen mode
Exit fullscreen mode
To end your current telnet session you must reach the telnet prompt and type quit.
Here are the steps for doing so:
- Open the telnet prompt by holding down the ‘Ctrl’ key and push the ‘]’ key. (prompt: telnet>)
- Type
quit
. - Push the
Enter
key.
I hope this helped.
You’re welcome 💪