Skip to content

ssh private key not being picked up #218

@shanestarcher-okta

Description

@shanestarcher-okta

By default git pickups my ssh key from ~/.ssh, but for pull and push operations this fails for go-git.

Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

If I do an ssh-add with my key it will start working.

This is on OSX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues/PRs that are marked for closure due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions