Skip to content

Generic unix domain socket support#850

Open
Apache553 wants to merge 2 commits into
PowerShell:latestw_allfrom
Apache553:afunix
Open

Generic unix domain socket support#850
Apache553 wants to merge 2 commits into
PowerShell:latestw_allfrom
Apache553:afunix

Conversation

@Apache553
Copy link
Copy Markdown

PR Summary

This PR adds support for various unix domain socket implementations on windows, and enables both local forwarding and remote forwarding for unix domain sockets

this implementation is inspired by #674

  • Support agent forwarding when connecting to windows sshd
  • Support multiple Unix Domain Socket implementations as connect target (the latter part in remote forwarding)
    • Windows Native AF_UNIX
    • Named pipe used by Powershell/openssh-portable ssh-agent
    • GPG4win S.gpg-agent file
  • Support listening Windows Native AF_UNIX sockets (local forwarding)
    • use forwarded sockets directly in WSL1 with proper lxss permissions set

PR Context

Trying hard to use my gpg4win agent socket on my linux box without using those 'bridge' programs. I tested this patch on my machine and confirmed features listed above can work. (see my own release if you don't want to build it yourself)

Apache553 added 2 commits May 16, 2026 02:30
Signed-off-by: Apache553 <apache553@outlook.com>
Signed-off-by: Apache553 <apache553@outlook.com>
Copilot AI review requested due to automatic review settings May 15, 2026 22:07
@Apache553
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant