Skip to content

Fail to clone repo by ssh-key authentication #1301

@JohnsonLo00

Description

@JohnsonLo00

What I did are listed as follows:

  1. Ran ssh-keygen -t ecdsa -C “<my email>” in inner-terminal and no extra contents (e.g. passpharse) was inputted by keeping pressing ENTER;
  2. Sequentially copied the content of .ssh/id_ecdsa.pub, id_ecdsa into the authentication setup in setting page;
Image
  1. Closed and reopened the app;

  2. Created the record of corresponding ssh key in the settings of Github.

Then I tried to clone repo from Github:

  1. Did that in UI called from left-side bar, whereas returned an error that authentication callback returned unsupported credentials type;
Image
  1. Did that again in terminal by running lg2 clone <. . .>, pressed the dedicated type of ssh key. It requested the same thing again and there seemed to be an error that No user.identityFile found in git config: config value ‘user.identityFile’ was not found.
Image

I am not sure whether it was caused by operational error or bug.

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