-
Notifications
You must be signed in to change notification settings - Fork 759
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
Make SSH Agent use UNIX Domain Sockets #1024
Comments
Since we need to support downlevel platforms, we cannot completely replace the existing named-pipes based alternative yet. |
Of course. |
Any updates to this? |
Related conversation in #827 |
I'm surprised this isn't getting more attention. It would save me hundreds to thousands of keystrokes a day entering my password for my ssh key as I can't find a stable way to implement any of the workarounds. |
Can UNIX domain sockets be used on platforms that have them, falling back to named pipes on older platforms? The SSH agent provided by this project is really useful - it "just works" without needing an extra password on Windows since it uses DPAPI. It would be great to be able to make use of this agent even when other features on this SSH client have problems (for example, I'm currently hitting #1684). |
Windows Terminal does this for some DirectX features since Visual Studio uses it on Win7. Don't know why we can't add version checks here as well. |
Or, even better than a version check, look for whether there's an afunix driver present (API equivalent of checking sc.exe query afunix [State == RUNNING]). |
I guess it would depend on what provides a faster response. |
I would just caution against using a OS version check. For example, some internal/test versions do not have afunix present even with a current OS version number. |
You could look at the path and set behavior based on whether it's a pipe or not. |
Is there any chance at all of this going anywhere? |
Hi, I just found this issue and there are a few topics I thought might be good to clarify. (If I am wrong about something, I am happy to hear it. This is just based on my knowledge after researching the topic over the weekend.)
Which
I think the topic of supporting I feel like resolving this issue does not actually provide much value as long as neither WSL2 nor Cygwin support native Unix domain sockets. I couldn't find any discussion about supporting native Unix domain sockets in Cygwin. I am wondering if there are specific issues with the FYI, the incompatibility between the SSH Agent of Windows and Cygwin would be much less problematic if they would not conflict by using the same environment variable. Maybe this project could introduce a new environment variable named |
With the latest Insider Build supporting UNIX Domain Sockets, can SSH-Agent support communication via UNIX Domain Sockets?
This would simplify porting existing applications relying on ssh-agent. Once WSL supports interaction with AF_UNIX sockets, it might even be possible to only run one SSH Agent.
https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
The text was updated successfully, but these errors were encountered: