dim: Update to gitlab remote gives Permission denied
Noralf Trønnes
noralf at tronnes.org
Fri Apr 26 13:07:43 UTC 2024
On 4/26/24 12:03, Noralf Trønnes wrote:
> Hi,
>
> I ran dim update-branches yesterday and all was fine.
>
> When I did it today I got a question and answered y:
>
> [notro at fedora-1 src]$ dim update-branches
> Update drm to new git at gitlab.freedesktop.org:drm/kernel.git? (y/N)
> yFetching drm (local remote
> drm)... git at gitlab.freedesktop.org: Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> dim: Failed to fetch drm
>
> Retrying doesn't work:
>
> [notro at fedora-1 src]$ dim update-branches
> Fetching drm... git at gitlab.freedesktop.org: Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> dim: Failed to fetch drm
>
> Does anyone know what's going on here?
>
I got i working, needed to add my ssh key to gitlab.
Looks like the getting-started[1] docs need updating on what goes in
~/.ssh/config
It would have been nice if this link was in the doc as well:
https://gitlab.freedesktop.org/help/user/ssh.md
Maybe this needs updating as well about the ssh account:
https://www.freedesktop.org/wiki/AccountRequests/
Noralf.
[1] https://drm.pages.freedesktop.org/maintainer-tools/getting-started.html
More information about the dim-tools
mailing list