You are not logged in.
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
Your config entry is incorrect. See the wiki.
Offline
Thanks for the hint!
bing different
Offline
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
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
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
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