Skip to content

fetching remotes from git using a ssh key with passphrase does not work #1335

@nielsoehlenschlaeger

Description

@nielsoehlenschlaeger

Description

If I try to install the git hook from an existing lefthook.yml (see below) using a ssh key with passphrase to authetitcate to git, it does not show a passphrase prompt and is just running for ever in ⠴ waiting: fetching remotes, I assume there is some implementation missing to handle ssh authentication with a passphrase.

lefthook.yml

remotes:
  - git_url: git@github.com:#####.git
    ref: main
    configs:
      - lefthook-mandatory.yml

Commands to reproduce

lefthook install

Lefthook version

2.1.2

Possible solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions