My telnet session doesn’t respond - How to close it and get the shell back
In Category Linux Networking
Sometimes the telnet session doesn’t respond and almost locks up your shell. This can be because of any of the following reasons.
- Your machine is disconnected from network
- Telnet Server is disconnected from the network
- Network problem between client and server
Your telnet client program uses Transmission Control Protocol (TCP) which takes lot of time (more than your patience) to realize that the connection to server is lost. If you are sure that the server is unreachable and would like to get out of the telnet session, you need to press “Ctrl+]” to get telnet client’s internal command prompt. There you can type ‘quit‘ command to close the telnet session.
[neo@techpulp ~]# telnet 203.25.132.64 Trying 203.25.132.64... Connected to 203.25.132.64. Escape character is '^]'. Login: neo Password: [neo@tserver ~]# ^] telnet> quit Connection closed. [neo@techpulp ~]#
Recent Comments