You are not logged in.

#1 2015-06-11 07:50:19

nbd
Member
Registered: 2014-08-04
Posts: 389

[SOLVED] Uploading new packages to AUR4

From Archlinux wiki:

In order to upload a package, simply clone the Git repository with the corresponding name:

$ git clone ssh://aur@aur4.archlinux.org/foobar.git

Should new packages (not existing in AUR3) be uploaded with this command?

I configured ~/.ssh/config as follows:

Host https://aur4.archlinux.org
        Hostname aur4.archlinux.org
        User myusername
        IdentityFile ~/.ssh/my.key

When I do

$ git clone ssh://myusername@aur4.archlinux.org/mynewpackage.git

git returns an error:

Cloning into 'mynewpackage'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

Last edited by nbd (2015-06-11 08:48:50)


bing different

Offline

#2 2015-06-11 07:51:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Uploading new packages to AUR4

Your config entry is incorrect. See the wiki.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-06-11 08:48:11

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: [SOLVED] Uploading new packages to AUR4

Thanks for the hint!


bing different

Offline

#4 2015-06-17 10:43:20

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: [SOLVED] Uploading new packages to AUR4

Same problem here. But no mentioning of .ssh/config in the wiki (anymore?). Or am I just blind. For now I'm stuck. Could you give me a hint, please?


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#5 2015-06-17 11:21:03

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: [SOLVED] Uploading new packages to AUR4

There is a link to the SSH-keys wikipage that describes how to create and use an ssh key. I'll give you some steps:
* create ~/.ssh/id_rsa_aur with ssh-keygen
* Upload key in your AUR settings.
* Enter key in ~/.ssh/config (Username is always "aur", not your login name)

Host aur4.archlinux.org aur.archlinux.org
  User aur
  IdentitiesOnly yes
  IdentityFile ~/.ssh/id_rsa_aur

* Test with

ssh aur@aur4.archlinux.org help

Last edited by progandy (2015-06-18 10:01:20)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2015-06-17 19:20:02

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [SOLVED] Uploading new packages to AUR4

WIki page

I'd recommend this script to configure your aur4 setup. It is best to read it (just the ssh part, actually) and understand what it does instead of simply executing it.

Offline

#7 2015-06-18 07:28:31

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: [SOLVED] Uploading new packages to AUR4

Thank you both for your help! I read the AUR4 part of the wiki, but seem to have missed the ~/.ssh/config part... Now I can connect to aur4.archlinux.org and proceed with migrating my packages.


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

Board footer

Powered by FluxBB