X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71603385840B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1691444840; bh=/AdhnT/I/meHnhiSDjmBqJNyiHEBuGsDXD1psU279ZM=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=yt6Kfcw60oyiBK7S/tuBHsIfC3bQZ7T6NcOi8w58sK/VeGzuScCduWlNofgwq4BLz Df22Bf5Vc7BZqL9NEtDXWEIxkLm9IxZDKdU4m++XQbs4W4OaTUysqSavfbSiZSy0Oz GDJyYmcLxlJsayY5Yqtgoz1hTKaGm4F1k8x2Xf/s= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2EAE43858D28 X-Virus-Scanned: Debian amavisd-new at smtp02.aussiebb.com.au X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 Message-ID: Date: Tue, 8 Aug 2023 07:46:51 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: sshd_config AllowStreamLocalForwarding perm off / effectively privsep off To: cygwin AT cygwin DOT com References: <883e0ae2-1ac7-1474-ba06-10d9de441390 AT aussiebb DOT com DOT au> In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Shaddy Baddah via Cygwin Reply-To: Shaddy Baddah Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" Hi, On 8/08/2023 3:40 am, Corinna Vinschen via Cygwin wrote: > On Aug 7 22:11, Shaddy Baddah via Cygwin wrote: .. > > Yes, the parts of OpenSSH requiring descriptor passing are disabled in > OpenSSH. > >> Otherwise, what's the solution? > > Solution for what? What is it you want to do? Reverse unix socket forwarding. Like this: |~aC |ssh> -R /tmp/p2:/tmp/p1 |Forwarding port. |debug1: Remote: Server has disabled streamlocal forwarding. Despite configuration and documentation, this can never work on Cygwin. And I was looking to what an agreeable patch for OpenSSH might be. But if I have read the situation right, by policy, there cannot be one for Cygwin. I do have a workaround, but it's suboptimal. -- Regards, Shaddy -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple