delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/12/13:35:20

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=g2oB14UUPbWReFKbKgNk5UZ12JVLYL6fbnhFTUT4B8XCTD6a1LkBP
j+h9OuLwdbYrfWmo9Xes4rAdIs2nXIquBjUrfBR+9fUfE0ohlcl7Bz597OWBReEO
DcLoR/bq2UIeg8JDbod5hxcP2nuf/w/2zngZUpMtCXfdRO8mlkI1Ps=
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=Vwywv5VhB0S6N87iw8i3HSirFk0=; b=U2hfudDJ6dKib+GRC+16HpQ4HvLz
hSRzzqSV1/sH/PKXi+XXy/+x7A1zhiTdUSF5erh3g+pKkp62QFBI9m4Dg5PbrjSh
cyq5PuOUo/eeYlIxukNKCY3oiJnjkToILW6tIJqS2716sdLQC91BczCFNcesjKUk
yEM6qiVgXWolqQg=
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.2 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 13:34:41 -0400
Lines: 22
Message-ID: <f7f0u8hgn9uc1r03vf8lctj3v0io4b10l8@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>
Mime-Version: 1.0
X-Archive: encrypt

> debug1: Local connections to LOCALHOST:5661 forwarded to remote address
> 127.0.0.1:6661
> debug1: Local forwarding listening on ::1 port 5661.
> 				  ^^^^^^^^^
> 
> <connection attempt fails with "Connection closed by ::1">!!!!
> 
> It looks like the problem is that AutoSSH is binding to IPV6, *NOT*
> IPv4! sshd is set to "AddressFamily inet", .. so the problem appears to be
> that AutoSSH is not binding properly.
> 
> Don't see anything in the man pages or a quick search, .. how would one
> force AutoSSH to bind to IPv4? IPV6 is installed on this box, but not
> used.

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.

Does it help if you include the -4 switch to ssh, to force it to use ipv4
only?  It's worth a try.


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