From: Shaddy Baddah <lithium-cygwin@shaddybaddah.name>
To: cygwin@cygwin.com
Subject: Re: sshd_config AllowStreamLocalForwarding perm off / effectively privsep off
Date: Tue, 8 Aug 2023 07:46:51 +1000 [thread overview]
Message-ID: <db4eb850-bb65-dc66-eeb4-00ff49cb6777@aussiebb.com.au> (raw)
In-Reply-To: <ZNEslrRdAQxRtVBD@calimero.vinschen.de>
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
next prev parent reply other threads:[~2023-08-07 21:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 12:11 Shaddy Baddah
2023-08-07 17:40 ` Corinna Vinschen
2023-08-07 21:46 ` Shaddy Baddah [this message]
2023-08-08 1:40 ` sshd_config AllowStreamLocalForwarding *remote not possible* " Shaddy Baddah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db4eb850-bb65-dc66-eeb4-00ff49cb6777@aussiebb.com.au \
--to=lithium-cygwin@shaddybaddah.name \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).