[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dim-tools
Subject:    Re: dim: Update to gitlab remote gives Permission denied
From:       Noralf_Trønnes <noralf () tronnes ! org>
Date:       2024-04-26 13:07:43
Message-ID: cdd34bb2-624a-413c-880e-0a1b5dfef8b6 () tronnes ! org
[Download RAW message or body]



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@fedora-1 src]$ dim update-branches
> Update drm to new git@gitlab.freedesktop.org:drm/kernel.git? (y/N)
> yFetching drm (local remote
> drm)... git@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@fedora-1 src]$ dim update-branches
> Fetching drm... git@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic