Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SSH_AUTH_SOCK Unix Domain Sockets for Windows #7050

Closed
WSLUser opened this issue Jun 10, 2021 · 3 comments
Closed

Support SSH_AUTH_SOCK Unix Domain Sockets for Windows #7050

WSLUser opened this issue Jun 10, 2021 · 3 comments
Labels

Comments

@WSLUser
Copy link

WSLUser commented Jun 10, 2021

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Many Win32-OpenSSH users need gpg and gpg-agent support opening a Unix Domain Socket in Windows for use with SSH. However, this appears to fail as Win32-OpenSSH does not support Unix Domain Sockets when configured in SSH_AUTH_SOCK. Per Win32-OpenSSH team, the socket support should be raised here. Once implemented in Windows, WIn32-OpenSSH can be updated to make use of it. Since we have limited support of AF_Unix, I think the changes needed to add this likely go in the same place that the AF_Unix support lives in the Windows source code.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Allow usage of the SSH_AUTH_SOCK on Windows.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

There are ways to bridge this using third-party programs such as https://github.com/benpye/wsl-ssh-pageant and configuring gpg and gpg-agent to run in pageant mode and using the aforementioned program to open a named pipe that can work with OpenSSH for Windows when set to SSH_AUTH_SOCK.

Additional context
Add any other context or screenshots about the feature request here.
Related: PowerShell/Win32-OpenSSH#1761 and PowerShell/Win32-OpenSSH#1024

This request is to be routed to the Linux Systems Group which WSL team is part of in order to get this feature request implemented.

@WSLUser
Copy link
Author

WSLUser commented Dec 14, 2021

@craigloewen-msft Was this issue ever brought up to anyone?

@craigloewen-msft
Copy link
Member

Just pinged folks internally about this, people are OOF until the new year. I see you've already filed this at the Win32-OpenSSH repo PowerShell/Win32-OpenSSH#1761 which seems like the right place to track this. I've let folks know about this feature request and pointed them to the Win32-OpenSSH thread which is where we should track this (As it isn't directly related to WSL). So the relevant folks have been pinged to the right issue, and I'll close this issue out for bookkeeping on the WSL repo. Thanks for filing!

@WSLUser
Copy link
Author

WSLUser commented Dec 15, 2021

Great thanks. Yeah I expected that many people will be OOF until next year. Just wanted to be sure it's on the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants