You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official git for windows contains a great ssh-agent, but git_cred_ssh_key_from_agent() does not seem to be able to use it. It is unclear why.
Reproduce
Once installed, git for Windows puts a special script start-ssh-agent on the PATH which will start the agent (if needed) from a windows shell and set the SSH_AUTH_SOCK and SSH_AGENT_PID variables.
Now the shell variables are set to e.g below and the git command line will use the agent.
Summary
The official git for windows contains a great
ssh-agent
, butgit_cred_ssh_key_from_agent()
does not seem to be able to use it. It is unclear why.Reproduce
Once installed, git for Windows puts a special script
start-ssh-agent
on the PATH which will start the agent (if needed) from a windows shell and set theSSH_AUTH_SOCK
andSSH_AGENT_PID
variables.Now the shell variables are set to e.g below and the
git
command line will use the agent.However
git_cred_ssh_key_from_agent()
seems unable to connect to this. It will always errors with error authenticating: failed connecting agent.Question
Is this expected to work at all? My libgit2 is built with the latest libssh2 using the standard gcc mingw-w64 toolchain. How can I further debug this?
The text was updated successfully, but these errors were encountered: