[aur-general] Uploading (git clone) fails

Patrick Burroughs (Celti) celti at celti.name
Wed Sep 9 17:15:20 UTC 2015

On Wed, 09 Sep 2015 11:55:35 -0500
"David C. Rankin" <drankinatty at suddenlinkmail.com> wrote:

> All,
>    I built gnu-cflow and was going to upload it to aur. I created a
> new ecdsa key, added the contents of the public key to my aur
> profile, copied the new key to ~/.ssh/cflow.pub on my machine and
> then attempt to an upload with:
> git clone ssh://aur@aur.archlinux.org/cflow.git
> Cloning into 'cflow'...
> Permission denied (publickey).
> fatal: Could not read from remote repository.
> Please make sure you have the correct access rights
> and the repository exists.
>    What am I doing wrong?

You need the private key on your local machine, not the public key. AUR
gets the public key, you get the private key. You'll also need to do
`ssh-add ~/.ssh/your-private-key` to add it to your keyring.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20150909/c5c8337c/attachment.asc>

More information about the aur-general mailing list