Skip to content

jj git clone fails with ecdsa-sk hardware SSH key #2958

@emesterhazy

Description

@emesterhazy

Description

jj git clone git@github.com:martinvonz/jj.git fails if the user is using an SSH key with a
hardware security key such as the types described in Github's SSH key documentation.

Steps to Reproduce the Problem

  1. Create a new SSH key with ssh-keygen -t ecdsa-sk -C "your_email@example.com" and a hardware security key.
  2. Run jj git clone git@github.com:martinvonz/jj.git.
  3. See an error and the repo is not cloned.

Expected Behavior

The repo should be cloned.

Actual Behavior

jj git clone git@github.com:martinvonz/jj.git
Error: authentication required but no callback set; class=Ssh (23); code=Auth (-16)
Hint: Jujutsu uses libssh2, which doesn't respect ~/.ssh/config. Does `ssh -F /dev/null` to the host work?

Specifications

  • Platform: MacOs
  • Version: jj 0.13.0

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