Results 1 to 2 of 2

Thread: no telnet timeout

  1. #1
    Join Date
    Jul 2006
    Location
    Belgium
    Beans
    50
    Distro
    Ubuntu

    Red face no telnet timeout

    Hi,


    I have some scripts that are doing a telnet to a machines port to check if that application is running.
    However, even when the machine is down, the script stops after about 3 minutes.
    When I execute the telnet command from another machine, I receive a time-out after 5 seconds.
    Do I need to change a parameter somewhere ?
    I don't think you can specify a timeout with a telnet command.


    Thanks.

  2. #2
    Join Date
    Feb 2008
    Location
    kentucky
    Beans
    97
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: no telnet timeout

    I would consider replacing telnet with a tool that is designed for the purpose you require. nmap is such a program.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •