Re: how to force an ssh client timeout
From: Senthil Kumar (senthilkumar_sen_at_hotpop.com)
Date: 09/06/04
- Previous message: Jeremy Lin: "Re: Connect to a linux box from Windows using RSA authentication"
- In reply to: k l: "how to force an ssh client timeout"
- Next in thread: k l: "Re: how to force an ssh client timeout"
- Reply: k l: "Re: how to force an ssh client timeout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "k l" <yoda_2732002@yahoo.com> Date: Mon, 6 Sep 2004 11:04:48 +0530
Hello,
Im using OpenSSH 3.8.1 and the directive TCPKeepAlive of ssh for the same
purpose as u noted.Hope this helps.
TCPKeepAlive : Specifies whether the system should send TCP keepalive
messages to the other side. If they are sent, death of the connection or
crash of one of the machines will be properly noticed.
However,this means that connections will die if the route is down
temporarily, and some
people find it annoying.The default is ``yes'' (to send TCP
keepalive messages), and the client will notice if the network goes down or
the remote
host dies. This is important in scripts, and many users want it
too.To disable TCP keepalive messages, the value should be set to ``no''.
Regards,
Sen.
----- Original Message -----
From: "k l" <yoda_2732002@yahoo.com>
To: <secureshell@securityfocus.com>
Sent: Saturday, September 04, 2004 7:12 AM
Subject: how to force an ssh client timeout
> Hello,
>
> Is there a way to force an ssh client to timeout
> when the server is unreachable? I found the
> following post from 2001 dealing with this
> issue(http://www.mail-archive.com/ssh@clinet.fi/msg04695.html).
> Has anything changed? Do you know of a
> good solution/approach/new options? I am writing
> a script that connects via ssh to a list of several
> hundred servers
> and I do not want this process to be delayed or
> stalled by a small number of hosts that for
> some reason are causing delays/freezes, etc.
> I am using OpenSSH_3.6.1p2 on RedHat Linux.
> Any comments/suggestions will be appreciated.
>
> Thanks,
>
> kamen
>
>
>
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.751 / Virus Database: 502 - Release Date: 9/5/2004
- Previous message: Jeremy Lin: "Re: Connect to a linux box from Windows using RSA authentication"
- In reply to: k l: "how to force an ssh client timeout"
- Next in thread: k l: "Re: how to force an ssh client timeout"
- Reply: k l: "Re: how to force an ssh client timeout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|