delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/15/15:23:41

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:date:from:to:subject:message-id:mime-version
:content-type; q=dns; s=default; b=sOGe2umXJU6ZImT64Sw9cv2hqZ96G
Deuiyp4WcoMYY2ttnVZXF+k8Ud19BLU9eVTInOMpwBN8ApTNaV3sH4yWcJ3MC21H
NL+XEF7y5vIYzgF+aEx5s56ZyK3day8yZWkjFwVl0vaGdwlrgJjpOuLl/+/I9vwK
INietCfBBozZZQ=
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:date:from:to:subject:message-id:mime-version
:content-type; s=default; bh=zxn2l7XCTtETDro2X10KQoc/LfM=; b=uyK
uQkTIP3mTKxHVvHfJ6AqERq7fAzx/3GmbDzsDoH/x8ZVDH1poyFQi2AsP4u0hi1N
96WLsLtTmRngLJvD/dr3sxnjYKfSdGQK5S+6ifjugTHlGwGi/iUYu6+KUDvK0dvy
bIfFmy6lmyoEZsxmsXG6YJlaWfp3lu1DHK1oRL2E=
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=0.7 required=5.0 tests=AWL,BAYES_40,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1
Date: Mon, 15 Jul 2013 14:16:00 -0500 (CDT)
From: "L. V. Lammert" <lvl AT omnitec DOT net>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Problem binding OpenSSH_6.2p2 to IPV4 stack
Message-ID: <Pine.BSO.4.53.1307151348420.32610@Mail.omnitec.net>
MIME-Version: 1.0
X-SPAM-Info: Omnitec Corporation MailScanner
X-SPAM-MailScanner: Found to be clean

After troubleshooting an AutoSSH problem last week, it appears that on
this 2003R2 box sshd cannot bind to the IPV4 stack! Rather, with the
default configuration it binds to IPV6 (and supports a loopback connection
fine), but a remote connection fails. When sshd is forced to bind IPV4
("Addressfamily inet"), sshd cannot start.

With default sshd config, connection to the autossh tunnel from a remote
system produces:

[remote system]
ssh_exchange_identification: Connection closed by remote host

[2003R2 server]
debug1: channel 2: connection failed: Connection refused
connect_to 127.0.0.1 port 2206: failed.
debug1: channel 2: free: ::1, nchannels 3

Any pointers on troubleshooting would be greatly appreciated, ..

	TIA!

	Lee

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