delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/12/15:15:37

X-Recipient: archive-cygwin AT delorie DOT 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; q=dns; s=
default; b=UnTdRXDvwy+Z/K/ebflzH7UfBC4lRt5ooOHf1lLuKSGksHGQsURzU
9j1lgzTOkmmDN+S9q6wAJFdX3gc82VMv4GE7ywY3eu0gUjPeaOmdrE7N8fvwKpYG
4CY+lvDWEY7F0Rdtik8eAil6HrKTwpvCo0sBWZ8yvZ4uN/O5iSPcjo=
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; s=default;
bh=6kd5MjyQvhCRLMUn9iv44WeSbCs=; b=RYOyzI0uC+kSD0zKlO+gAU5rdlmT
HG0C0LwTDsJm8r/iC8QR9hOKGtb63D7QOJltQLd8t/Xx7DMdLwLXLasYqGtCTxxD
ggIoOmIHDAne0O1/YUf8pwU/CWN0stxt96yZjmC74EfocpCI96Wr8+wauJ9oMGjD
cuqJOD10sAnNFuw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: Troubleshooting AutoSSH
Date: Fri, 12 Jul 2013 15:15:02 -0400
Lines: 26
Message-ID: <d1l0u8t2ccbedj8tk8vg594lam0k4svpgp@4ax.com>
References: <Pine DOT BSO DOT 4 DOT 53 DOT 1307111701260 DOT 32610 AT Mail DOT omnitec DOT net> <tm1vt8pl995u8nvkpebtmbrc0tq3jjmggh AT 4ax DOT com> <Pine DOT BSO DOT 4 DOT 53 DOT 1307121055000 DOT 32610 AT Mail DOT omnitec DOT net> <f7f0u8hgn9uc1r03vf8lctj3v0io4b10l8 AT 4ax DOT com> <Pine DOT BSO DOT 4 DOT 53 DOT 1307121338440 DOT 32610 AT Mail DOT omnitec DOT net>
Mime-Version: 1.0
X-Archive: encrypt

> On Fri, 12 Jul 2013, Andrew Schulman wrote:
> 
> > Hi Lee.  Okay, that does seem to narrow it down.
> >
> > You're right that autossh doesn't have any ipv4 options.  It hasn't been
> > updated in a few years, and I think it's just not ipv6-aware yet.
> >
> Looks like it may not be autossh - if I start sshd with a default config,
> it works [ssh localhost], .. if I try ssh -4 localhost, nada!
> 
> It looks like *sshd* can only bind IPV6 - forcing it to bind IPV4 only
> prevents startup.

OK.  So does it work then to pass the -6 flag to ssh?

If sshd is only accepting ipv6, then it may be autossh's port monitoring
feature that's broken.  It uses ssh to forward some ports of its own, and
that feature might be ipv4-only.  You can turn it off by passing -M0 to
autossh.  Does that fix the problem?

If that does fix the problem, then it's not a very good solution, because
you've had to disable autossh's monitoring of your connection.  So it won't
know if your connection has stopped passing traffic, in order to restart
it.  But at least we'll have a well-defined bug to report upstream.

Andrew


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

- Raw text -


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