Skip to content

jj git clone doesn't support interactive authentication #401

@zygoloid

Description

@zygoloid

Description

jj git clone (and presumably other jj git commands) don't support interactive authentication, for example if ssh is used to connect to the remote and the ssh key has a passphrase.

Steps to Reproduce the Problem

  1. Set up a github ssh key with a passphrase, and specify a corresponding IdentityFile in .ssh/config
  2. Attempt to jj git clone git@github:...

Expected Behavior

The passphrase for the ssh identity file is requested, and the git operation continues.

Actual Behavior

jj git clone fails with the error:

Error: Fetch failed: Failed to retrieve list of SSH authentication methods: Failed getting response; class=Ssh (23); code=Auth (-16)

Specifications

  • Platform: linux
  • Version:

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