delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/07/16:09:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 7 Jan 2002 22:08:48 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Newbie ssh question
Message-ID: <20020107220848.K1242@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <ADEFIOEJFOPKHEDNFOMOIEKICAAA DOT james DOT c DOT hall AT ntlworld DOT com> <87itae3zzl DOT fsf AT grannyogg DOT localnet>
Mime-Version: 1.0
In-Reply-To: <87itae3zzl.fsf@grannyogg.localnet>
User-Agent: Mutt/1.3.22.1i
X-MIME-Autoconverted: from 8bit to quoted-printable by cygnus.com id NAA23633
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g07L9AY27086

On Mon, Jan 07, 2002 at 05:08:46PM +0100, Adrian Phillips wrote:
> >>>>> "James" == James Hall <james DOT c DOT hall AT ntlworld DOT com> writes:
> 
>     James> Thanks for responding to my original question.  Although
>     James> not strictly correct you pointed me in the right
>     James> direction. For any one else with this problem:
> 
> Does not :-
> 
>      KeepAlive
>              Specifies whether the system should send 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. This op­
>              tion only uses TCP keepalives (as opposed to using ssh level
>              keepalives), so takes a long time to notice when the connection
>              dies. As such, you probably want the ProtocolKeepAlives option as
>              well.  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 keepalives), 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 keepalives, the value should be set to ``no'' in both
>              the server and the client configuration files.
> 
> and/or this :-
> 
>      ProtocolKeepAlives
>              Specifies the interval at which SSH_MSG_IGNORE packets will be
>              sent to the server during dile periods. Use this option in
>              scripts to detect when the network fails. The argument must be an
>              integer. The default is 0 (disabled), or 300 if the BtchMode op­
>              tion is set.
> 
> help ? I haven't checked the changes for Cygwin in the OpenSSH code so
> I don't know whether these options should have an affect. Its
> certainly easier than having to mess with the registry,

The Cygwin OpenSSH port is very straightforward.  The above options
should work as expected.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019