-
Notifications
You must be signed in to change notification settings - Fork 779
debug1: Remote: Agent forwarding not supported in Windows yet #1461
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
Comments
bump I would love to see this feature implemented. In our linux shop we certainly have a need for this feature when doing windows builds of our software. |
Bumping this feature as well. VS Code's Remote Development plugins and Windows OpenSSH Server is a powerful combination. However, without the ability forward keys, it prevents easy access to git repositories that allow access over ssh using a public key. Or any sort of "jump box" setup. I am currently working around this by running OpenSSH Server on Ubuntu in WSL, but that's a bit of a shoehorn. Enabling this key feature of OpenSSH (heh) would simplify this setup immensely. |
Note that this is documented in https://github.com/PowerShell/Win32-OpenSSH/wiki/Project-Scope. However, it is called "Authentication forwarding" iof. "Agent forwarding". I suggest labeling this issue with the "feature request". It's a lacking feature, not a bug. IMO the wiki should use the "Agent forwarding" terminology to better document this. |
Does this still apply? For example that scope page says that X11 forwarding isn't supported, but it actually already works. But I tired doing agent forwarding (using |
Been trying for 3 hours, to no avail. I think it’s still missing. I’m using latest release 8.6.0.0p1. |
I just realized I misread the OP. I tested Windows -> Linux, not Linux -> Windows.
|
I managed to bypass it with using -J (ssh jump). It worked fine. |
Hello, I myself have no longer a use case for this setup and cannot test it. But thx for the great work and support! Reading comment by shmerl seams to work, closing my original issue :) |
Can we reopen this issue as it's on the vNext milestone? |
To clarify, |
I've been working on getting support for ssh forwarding by implementing So far I have a build where I'm more than happy to contribute with a PR for this support but I would probably need some guidance in terms of how to protect the different code paths and what would be the best approach to check for the AF_UNIX support. |
I can confirm that authentication against GitHub is working fine using
I still can't get |
I had to configure |
WSL2 support is also working when running bash in the sshed powershell session |
"OpenSSH for Windows" version
7.7.2.2 default online capabilities install
Server OperatingSystem
Windows 10
Client OperatingSystem
Arch Linux x86_64
What is failing
ForwardAgent from linux to windows. Debug message indicates that Forwarding agent is not supported.
debug1: Remote: Agent forwarding not supported in Windows yet
Expected behavior
from linux
ssh -A
to Windows should forward the agent. on Windows it should be possible to list the forwarded keys withssh-add -l
The error message from the windows openssh server indicates that this feature is not available yet.
The text was updated successfully, but these errors were encountered: