X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=RbBARy/yCql6O3/OYWOjKT1OtTIwmY
	gZ3yClYdoyUbZRDVKVUFH86Zt7ubDtYqtPPbcJTDkfUIrHQGfCHbcwqGT/6LEImc
	uPUwCxqa0g5MXcHbW3k2/wpD4fh4ICjqmAqFyjEmX7LnyuWvqPMV4hsWtqEELBUt
	ONWM0369jeGD8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=PXPRzcS8R8c9TE5HmmBw8OPYI8E=; b=WgtU
	JtoAjGbEAY4DD3eXAUa9L8igaSX9259u8/2Tn7yS2SAjppzI625oYRvPiJ7oMCzR
	xmEase+O6b1w2nEO3OGCcLS/cQlAY875wvUTtuPyiBS/kGVjEojfXWDKYe0NK3B7
	rndOZjiw578Rwq7DJkoqvO1nbFmfRSS2pUCXxZc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=BAYES_50,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=autossh, AutoSSH, Startup, sk:AUTOSSH
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene.berber@gmail.com>
Subject: Re: AutoSSH problem
Date: Fri, 1 Jun 2018 18:03:30 -0500
Lines: 25
Message-ID: <pesj7v$v8l$1@blaine.gmane.org>
References: <1527847720.60014.ezmlm@cygwin.com> <46b2d965-0adb-69dc-8e4d-07647c0da882@lanvaux.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
Openpgp: preference=signencrypt
In-Reply-To: <46b2d965-0adb-69dc-8e4d-07647c0da882@lanvaux.fr>
X-IsSubscribed: yes

On 6/1/2018 10:31 AM, Germain Le Chapelain :

The behavior looks normal.

Quoting from the autossh man page:

"Startup behaviour

If the ssh session fails with an exit status of 1 on the very first try,
autossh

1.' will assume that there is some problem with syntax or the connection
setup, and will exit rather than retrying;

2.' There is a "starting gate" time. If the first ssh process fails
within the first few seconds of being started, autossh assumes that it
never made it "out of the starting gate", and exits. This is to handle
initial failed authentication, connection, etc. This time is 30 seconds
by default, and can be adjusted (see the AUTOSSH_GATETIME environment
variable below). If AUTOSSH_GATETIME is set to 0, then both behaviours
are disabled: there is no "starting gate", and autossh will restart even
if ssh fails on the first run with an exit status of 1. The "starting
gate" time is also set to 0 when the -f flag to autossh is used. "
-- 
R. Berber


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

