LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to change the timeout on a telnet session? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-change-the-timeout-on-a-telnet-session-196808/)

gimpytoday 06-23-2004 09:44 AM

How to change the timeout on a telnet session?
 
hello

linuxxed 06-23-2004 10:24 AM

Re: How to change the timeout on a telnet session?
 
Quote:

Originally posted by gimpytoday
Hello there, I am in the process of writing a script which tries to test ports on different ips (where i work) port 25 to be exact and check for mail banners. I have the script telneting but the timeout is soooooooooo long. How do I shorten the timeout for telnet? I'm using the script on a red hat 9 laptop.

Thank you very much, or maybe someone knows of a better idea altogether?


Why are you even telnetting to host and port?? Can you not use nmap for this?

Write your script in Perl or Python or Java or C for this. You can control fine grained params there.


All times are GMT -5. The time now is 10:57 AM.