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

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
To: "James Hall" <james DOT c DOT hall AT ntlworld DOT com>
Cc: <cygwin AT cygwin DOT com>
Subject: Re: Newbie ssh question
References: <ADEFIOEJFOPKHEDNFOMOIEKICAAA DOT james DOT c DOT hall AT ntlworld DOT com>
From: Adrian Phillips <adrianp AT powertech DOT no>
Date: 07 Jan 2002 17:08:46 +0100
In-Reply-To: <ADEFIOEJFOPKHEDNFOMOIEKICAAA.james.c.hall@ntlworld.com>
Message-ID: <87itae3zzl.fsf@grannyogg.localnet>
Lines: 46
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
X-Virus-Scanned: by AMaViS snapshot-20010714
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g07G95F19723

>>>>> "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,

Sincerely,

Adrian Phillips

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--
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