Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.55 sec)
Exiting from a telnet session cleanly

Control-C and other Control keystrokes don't get me out of a telnet session properly.

How do I do it ?

Thank you for your help.
Asked by:
poppy
1375 points
 Report Abuse
 Share Page - Category: Networking - Tags: Exiting from a telnet session cleanly
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (5)

Best Answer

<Ctrl-]>, then enter quit

Response by:
s
3383 points
The keys to exit properly are Ctrl-D. It's equivalent to "logout".

Response by:
Saur0m
29 points
Ctrl+C just send Break signal to current shell

if you want to exit, just enter "Ctrl+]" then enter "quit"

note: it is better to logoff from server, then server send "fin"

and connection will closed..

Response by:
jalal
3623 points
I think you use a application connection

in your application used CTRL+C for any process

you can change that od unused that

or

in your server tarp for CTRL+C

you can type

trap " " SIGINT or trap " " 2


Response by:
mohamad_kian
1548 points
Thanks !

Response by:
poppy
1375 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle