Question: How do I close a telnet session/window?
This article assumes that you’ve started a telnet conection through the Windows command prompt. (you can do so by typing: “telnet address port“)
Answer: 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: Microsoft Telnet>)
2. Type quit.
3. Push the ‘Enter’ key.
You can change this default telnet prompt key by starting telnet like this:
telnet –e p 192.168.1.81 (this will change the telnet prompt key to lowercase ‘p’)
Subscribe To The RSS Feed!
To catch many more articles like this in the future, make it easy on yourself and subscribe to me via RSS. You will not regret it!
Do you have a question?
We will do our best to try and solve any building automation, protocol, integration problem you may have
Hey,
Thanks a lot. I had opened a telnet connection and had no idea how to close it until I came across this!!
By the way, I am logged in Ubuntu. So the steps you have mentioned for windows work for linux as well.
Good to know, changed the title accordingly
Hi,
great post, could you please mention, that this also work with other key mappings? e.g. on german keyboards the ‘]’ is a composed key, but the same key position as on english keyboards works: use [Ctrl] + [+] there.
Regards,
Thomas