keyboard-color-switcher icon indicating copy to clipboard operation
keyboard-color-switcher copied to clipboard

Cannot clone repo

Open ahoneybun opened this issue 3 years ago • 7 comments

Folks aren't able to clone the repo using the steps in the README due to permissions:

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:JeffLabonte/System76-Backlight-Manager-cli.git' into submodule path '/home/logangarner/keyboard-color-switcher/system76_backlight_manager' failed
Failed to clone 'system76_backlight_manager'. Retry scheduled
Cloning into '/home/logangarner/keyboard-color-switcher/system76_backlight_manager'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:JeffLabonte/System76-Backlight-Manager-cli.git' into submodule path '/home/logangarner/keyboard-color-switcher/system76_backlight_manager' failed
Failed to clone 'system76_backlight_manager' a second time, aborting

ahoneybun avatar Dec 27 '21 14:12 ahoneybun

I can't reproduce that.

yochananmarqos avatar Dec 27 '21 16:12 yochananmarqos

@ahoneybun

This is not an issue with the repo itself. As far as I can see, you are trying to clone the repository using the SSH route and you don't have an SSH key set into your Github Account.

We could change the submodule call to use the HTTPS route.

JeffLabonte avatar Jan 10 '22 16:01 JeffLabonte

It looks like the steps are using HTTPS which is odd.

ahoneybun avatar Jan 10 '22 16:01 ahoneybun

@ahoneybun

It is not. Not for the submodule since it has been added with the SSH URL

image

JeffLabonte avatar Jan 10 '22 19:01 JeffLabonte

Ah that's something. Odd.

ahoneybun avatar Jan 10 '22 19:01 ahoneybun

That's the thing, it isn't odd. that's the way it has been configured.

JeffLabonte avatar Jan 10 '22 19:01 JeffLabonte

You could change the URL in the git configurations to make it use the HTTPS URL instead of the SSH. Personally, I prefer to use SSH since it forces the user to have a Github account and configure its environment to code.

JeffLabonte avatar Jan 10 '22 19:01 JeffLabonte