Getting out of telnet session gracefully

Discussion in 'Server Networking' started by Spin, Mar 14, 2008.

  1. Spin

    Spin Guest

    Gurus,

    When you open up a command prompt window and run a telnet test to a host
    (for example: telnet cnn.com 80), if the test is successful (remote host is
    listening) you get a bunch of "-" marks down the left-hand side of the
    window if you keep pressing ENTER. But, how do you exit out of this?
    Frequently I have to close the CMD window and re-open so I can run a test to
    against another computer (IP host). Thoughts?
     
    Spin, Mar 14, 2008
    #1
    1. Advertisements

  2. Spin

    VanguardLH Guest


    If 'quit' doesn't work then the server is waiting for input. If you
    can't enter the appropriate input then maybe Ctrl+C will break out if
    the server hasn't disabled it. Sometimes when you 'quit', it looks
    like you are still in the telnet session because telnet.exe doesn't
    show the command prompt but just hitting Enter will paint a new line
    and show the prompt.

    'telnet /?' just shows the syntax for the command line to execute the
    program. Use Start -> Help and Support to get information on the
    commands available within a telnet session (that are for the telnet
    program versus the commands that the server will accept).
     
    VanguardLH, Mar 14, 2008
    #2
    1. Advertisements

  3. Spin

    Spin Guest

    Answer found here:

    http://209.85.165.104/search?q=cach.../+how+to+quit+telnet&hl=en&ct=clnk&cd=3&gl=us

    "hit ctrl-] (yep, control and the right-bracket). That will return you to a
    telnet command prompt. From there you can enter the quit command (q is
    sufficient) and you will be returned to your usual Windows command prompt."
     
    Spin, Mar 14, 2008
    #3
  4. Spin

    Barry OGrady Guest

    ^]

    Barry
    =====
    Home page
    http://members.iinet.net.au/~barry.og
     
    Barry OGrady, Mar 19, 2008
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.