When connecting to the host with telnet, there are many cases where you enter the quit
command etc. to disconnect from the host side, but there are also cases where you want to disconnect from the client side.
In such a case, press Ctrl +]
and the telnet prompt will be displayed. Entering q
at the prompt disconnects from the client and telnet exits
telnet
telnet> q
Connection closed.
It can also be used when the telnet terminal does not work and you want to forcibly exit.
Recommended Posts