delorie.com/archives/browse.cgi | search |
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:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=gu2BW880j1bGVnjUVyUo1C7gy+9Kzh+9IItUqYEsHNyz5+YwSlEcn | |
j0ebl0/btOFQYoW9g82pI7CAP0+Y4eyP6WaOXFluc5dWpOWPNgrf44wp2dUHc+1l | |
iI+tJ4AzAWI6N0gZ5hb74WXWTKOlCESUgcn3IGQcUlJ25KqXOkjMyo= | |
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:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=2fVYnTBdJTHUaroW48u4E4Vx+PQ=; b=ta9tkq5j1JGQl6Q3G/tNtT5Hm+ap | |
WmAR2IsRit0MS7Yhk40i2wh3BPXo8twTL0DtXNeAVs+qIFfvmrIs1ODCSPP+dsqQ | |
mwC6VLmsrhhxp4yclTXs6I0PAeNNzBq3hDr+t0VTXz5DxhNmwTDPgoewidr8ySTk | |
J35ZMHmv1gs6EyE= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 20 Feb 2014 09:50:55 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: OpenSSH port forwarding bug |
Message-ID: | <20140220085055.GD2246@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <BLU173-W3896EF675E0B97DFB4B04DB59D0 AT phx DOT gbl> <8tfof9t4krrjbrj9rk14umcjbh05h2msko AT 4ax DOT com> <BLU173-W34071B5D95ADF6D2547C49B59C0 AT phx DOT gbl> <BLU173-W51D2527ADA38BFF2E88A7FB59F0 AT phx DOT gbl> <BLU173-W9BF40E0ADBC0026E29769B59A0 AT phx DOT gbl> <20140220083604 DOT GC2246 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20140220083604.GC2246@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--m6jz55HWgj2hUaU9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 20 09:36, Corinna Vinschen wrote: > On Feb 19 17:18, Karl M wrote: > > >>> Subject: Re: OpenSSH port forwarding bug > > >>> Date: Wed, 12 Feb 2014 22:44:54 -0500 > > >>> > > >>>> Hi All... > > >>>> The following example shows the port forwarding problem. > > >>>> > > >>>> > > >>>> ~ > > >>>> > > >>>> $ ssh raven -W coyote:22 > > >>>> getsockname failed: Bad file descriptor > > >>>> SSH-2.0-OpenSSH_6.5 > > >>>> Protocol mismatch. > > >>>> ~ > > >>>> > > >>>> $ ssh raven nc coyote 22 > > >>>> SSH-2.0-OpenSSH_6.5 > > >>>> Protocol mismatch. > > >>> > > >>> What are you trying to do? > > >>> > > >>> > > >>> -- > > > -- > > Hi All... > >=20 > > So I solved my real problem. It was a typo in my .ssh/config file that = prevented me from being able to use the proxy command in ssh. I've used it = for years. > >=20 > > But there is still a minor bug in ssh, When I use a proxycommand with s= sh with the -W option, to avoid using an external program such as netcat (n= c) the error message "getsockname failed: Bad file descriptor" is displayed= . The proxycommand works, but displays this error message. Using netcat doe= s not display this error message. > >=20 > > The example above is a STC showing the error in a more easily visible w= ay. The names raven and coyote are local names on my network at home. > >=20 > > I am wishing the error message into the cornfield. >=20 > Cygwin's getsockname is called with a file descriptor -1. I tried > it on Linux and it occurs with the 6.5p1 version as well so it's a=20 > generic problem, still present upstream. I reported the problem upstream: http://lists.mindrot.org/pipermail/openssh-unix-dev/2014-February/032244.ht= ml Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --m6jz55HWgj2hUaU9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTBcHvAAoJEPU2Bp2uRE+gEK0P/3eJEyraMQNT60c+OxrCywdE a6O5G2qvijJTRnegtVsfJ6rg4mY2YGD1NbY9MVuiUtpqMDQxc14E/XXZO55YQ6pT tS4UhZj6q0fJFE8Mw4mFDsE+FpY13SFYzsjBnpQW72u1WfxBDEg7zdxImL0OT596 gASOS5DrOHPDf5pTr73XWK6oyqiQaazoCKcvFGxkV/TQtdsxWPQg11eQuj+qmnMy t5IWR7IpZ/y0d4tC+Z/HuMIuNnMRGSN8nosbXtO9NihPUndjK3s5Kfr3GdMjf7f5 M9YTb9Gc6x0NCUPVi/23pFpEiAmAWKO1v/FMqs4NLC7PU2DqxCzLiBEA8nn4VMTv i5Z6L40EvCGpEM4LMX0nB/PhbgjQsULO1Z6lSbFt3uTsiIt+2m/0F4XBCc5X3sbS ouU4pVLZ7x7iXHcy4uN0UMsQLwdyNAT1gUTY+y72OW6ckmCSZP85hJp6tPeqQn5N ckd7IHUlkx+TFbY/U3twxPdqjyEq/g+waMCwaUCJq3wrqbSSfuyuLb8QOq2sHWYq n9z3C4kmC9YGs2ZJNpUD0kbhlANvg2BguFJiNdFJnT9jmK/XA9fSjIXixCAZk72E Y8Rj/0hi2/etu6A/FsIva+3jhA4kZEkWsZD+UeBWnguIGCps/WauA9s2DHvegigv HTgZr5T1Y9P9bxLDAFpZ =KrB5 -----END PGP SIGNATURE----- --m6jz55HWgj2hUaU9--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |