delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/13/11:34:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua>
Subject: Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.
Date: Mon, 13 Feb 2012 18:34:19 +0200
Lines: 27
Message-ID: <844nuu3d6c.fsf@bifit.com.ua>
References: <84r4xzw0q8 DOT fsf AT bifit DOT com DOT ua> <20120213135313 DOT GB32512 AT calimero DOT vinschen DOT de> <20120213140027 DOT GC32512 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (windows-nt)
X-IsSubscribed: yes
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

On 2012-02-13, Corinna Vinschen wrote:

> On Feb 13 14:53, Corinna Vinschen wrote:
>> On Feb 13 11:18, Oleksandr Gavenko wrote:
>> > [...]
>> > To resolve issue I comment this line in ~/.ssh/config:
>> > 
>> >   # ControlPath ~/.ssh/sock_%r@%h_%p
>> >   # ControlMaster auto
>> 
>> Works for me with or without these lines.
>
> Btw., connection sharing doesn't work on Cygwin.  For this to work we
> need descriptor passing over AF_LOCAL sockets, which isn't implemented
> in Cygwin.
>
OK, thanks for explanation.

As possible solution:

 * comment above lines
 * pass "-S none" to ssh

Note that ssh create files ~/.ssh/sock_%r@%h_%p so code partially work.

-- 
Best regards!


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