You are not logged in.

#1 2022-12-21 06:42:00

gtarch
Member
Registered: 2022-10-14
Posts: 4

[SOLVED] Creating a new repo

I'm trying to create a new repository. I have added my public key to my account, but when trying to clone I get this error:

git clone ssh://aur/gbgoffice.git
Cloning into 'gbgoffice'...
gtarch@aur.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Any ideas what's going on?

Last edited by gtarch (2022-12-21 08:53:24)

Offline

#2 2022-12-21 07:08:00

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Creating a new repo

You have it configured incorrectly, you should be connecting with the username aur.
Please post your ssh config.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-12-21 07:40:10

gtarch
Member
Registered: 2022-10-14
Posts: 4

Re: [SOLVED] Creating a new repo

Thank you, changing the username to aur worked! Do I always use "aur" for git or just for creating new repositories?

Offline

#4 2022-12-21 17:08:00

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Creating a new repo

Pushing updates will also need to be done with user aur.

You should create a ssh config, see https://wiki.archlinux.org/title/AUR_su … entication for an example.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB