public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "René Berber" <rene.berber@gmail.com>
To: cygwin@cygwin.com
Subject: Re: AutoSSH problem
Date: Fri, 01 Jun 2018 23:03:00 -0000	[thread overview]
Message-ID: <pesj7v$v8l$1@blaine.gmane.org> (raw)
In-Reply-To: <46b2d965-0adb-69dc-8e4d-07647c0da882@lanvaux.fr>

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

  reply	other threads:[~2018-06-01 23:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1527847720.60014.ezmlm@cygwin.com>
2018-06-01 22:32 ` Germain Le Chapelain
2018-06-01 23:03   ` René Berber [this message]
     [not found] <1527971948.18809.ezmlm@cygwin.com>
2018-06-03  2:34 ` Germain Le Chapelain
2018-05-31 12:16 Germain Le Chapelain
2018-06-01  5:44 ` Andrew Schulman
2018-06-04 15:38 ` Greg Freemyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pesj7v$v8l$1@blaine.gmane.org' \
    --to=rene.berber@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).