Can't escape telnet? Here the solution!

I am the type of administrator that to check that a certain port is open I rarely think as a first option in Nmap or in nc (although this second is made specifically for that), the years got me used to using telnet.

The problem is that when I access a port using telnet and it is open, well, the port is open ... but then the damn telnet won't let go of me, it won't let me go ... ¬_¬ … No matter how hard I press Ctrl + C I only get a ^ C in the terminal, but no progress to exit.

The solution?

Simple, we must press Ctrl +]… yes yes, Control key and without releasing it we press a closing bracket 😉

CTRL + ]

This will display the terminal or telnet console, in which we write quit and press Enter.

Here is a screenshot: telnet Now that life will be more pleasant for us? 😀

I don't know about you, but I didn't like at all having to close the terminal (or tab) because the damned telnet wouldn't let me go ... now no more, no more telnet tyranny !! (I.e.

Well nothing, it's something simple but damn it helps, enjoy it!


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

9 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   zzz said

    super good, I didn't know that, I always had to close the terminal, thank you very much

    1.    KZKG ^ Gaara said

      A pleasure 😉

  2.   dhunter said

    I had the same job for a long time, until I realized that the same telnet is saying it every time you connect: Escape character is '^]'

    1.    lad said

      True the same telnet says it xD

  3.   Axel said

    I didn't close the console, but it did something just as annoying. I would open another console (or tab), to a ps afx, look for the telnet process that I had open (ps afx | grep telnet) and it would throw a kill ... with this it will save me a lot of time haha, thanks.

  4.   Tabris said

    I write him bye and enter

  5.   mau_restor said

    Writing in capital letters ...
    QUIT
    And voila, you go out ...

    1.    Anonymous said

      I love you

  6.   our said

    Until someone smart and thinking publishes an article what if it works