You are not logged in.
Hi!
I'd like to create a new AUR package.
I set up the /home/egidio/.ssh/config file like this:
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
I then created a new SSH key, without a passphrase, with the ssh-keygen -f ~/.ssh/aur command. I copied the content of the /home/egidio/.ssh/aur.pub file in the SSH Public Key section, AUR - My Account page.
Now I'm trying to clone the new repo with git clone ssh://aur@aur.archlinux.org/foo.git but I got the following error:
Cloning into 'foo'...
sign_and_send_pubkey: signing failed: agent refused operation
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I'm sure there is something stupid I'm missing, but I cannot get what it is.
Do you know why it is not working?
Last edited by EgidioCaprino (2016-10-15 19:45:40)
Offline
try "git clone git+ssh://aur@aur.archlinux.org/package_name.git"
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
What package are we talking about?
Online
try "git clone git+ssh/aur@aur.archlinux.org/package_name.git"
That worked! Thank you!
Offline
There is no reason why that should work better than without the "git+" at the beginning. It is a deprecated, never encouraged alternate spelling for exactly the same thing. In fact, the only place I have ever seen it used is in makepkg source urls, and that because makepkg cuts off the "git+" and uses it to determine which VCS is applicable.
https://www.spinics.net/lists/git/msg267826.html
...
Does it work normally without the "git+", now?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
It comes from the AUR wiki page, https://wiki.archlinux.org/index.php/Ar … w_package/
I do remember having used git+ssh to create the repo for a new package ever since AUR switched to a git-based solution .
Last edited by Lone_Wolf (2016-10-21 12:34:06)
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
If I am cloning, and don't plan on pushing, I use git clone https://aur.archlinux.org/packageName
Edit That ^^ turned into a link. It is not a valid link
Last edited by ewaller (2016-10-21 15:02:11)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
It comes from the AUR wiki page, https://wiki.archlinux.org/index.php/Ar … w_package/
I do remember having used git+ssh to create the repo for a new package ever since AUR switched to a git-based solution .
Thanks. I've fixed the Wiki.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline