DEV Community

Cover image for How to end a telnet session (Linux, MAC, Windows)
Abubakar Hassan
Abubakar Hassan

Posted on

How to end a telnet session (Linux, MAC, Windows)

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:

  1. Open the telnet prompt by holding down the 'Ctrl' key and push the ']' key. (prompt: telnet>)
  2. Type quit.
  3. Push the Enter key.

I hope this helped.

You're welcome 💪

Top comments (0)