You are not logged in.

#1 2023-04-03 07:43:40

lazyc97
Member
Registered: 2017-10-25
Posts: 4

git push to AUR get permission denied

Hi, I want to update a package https://aur.archlinux.org/packages/skm-bin since the maintainer hasn't done so for a while. So I cloned using SSH but can't seem to push even though I'm using SSH for git remote and added public key to my account.

Do anyone know what else I should check when pushing?

[lazyc97@lazyc97-virtualbox skm-bin]$ git remote show origin
* remote origin
  Fetch URL: ssh://aur@aur.archlinux.org/skm-bin.git
  Push  URL: ssh://aur@aur.archlinux.org/skm-bin.git
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (fast-forwardable)
[lazyc97@lazyc97-virtualbox skm-bin]$ git push --verbose
Pushing to ssh://aur.archlinux.org/skm-bin.git
git-receive-pack: permission denied: lazyc97
fatal: Could not read from remote repository.

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

public key added

Last edited by lazyc97 (2023-04-03 07:44:44)

Offline

#2 2023-04-03 08:05:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,037
Website

Re: git push to AUR get permission denied

You can only push to an AUR package repository if you are the maintainer or a co-maintainer.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB