Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ssh-agent on windows: failed connecting agent #4958

Open
@jeroen

Description

@jeroen

Summary

The officialgit for windows contains a greatssh-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 scriptstart-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.

screen shot 2019-01-24 at 2 55 50 pm

Now the shell variables are set to e.g below and thegit command line will use the agent.

SSH_AGENT_PID=3584SSH_AUTH_SOCK=/tmp/ssh-lxTliF4IDExJ/agent.3520

Howevergit_cred_ssh_key_from_agent() seems unable to connect to this. It will always errors witherror 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp