Skip to content

Support ~/.ssh/id_rsa or ~/.ssh/config #5640

@tbenst

Description

@tbenst

Unless a user is running ssh-agent, libgit2 does not find ssh keys, when git does.

There are popular issues with both Rust's Cargo, and Julia's Pkg.jl.

Currently, Cargo solves this issue by using system git as a replacement for libgit2. Julia 1.6 may also support this.

This has been discussed before, in #4338.

It seems the simplest solution is to revert from libssh2 to libssh: #5253. This is made more urgent by RedHat's deprecation of libssh2 in favor of libssh: #5225.

I wanted to bring it up again because this feature is critical enough that two of the higher-profile software that depends on libgit2 have or are exploring alternatives due to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions