You are not logged in.

#1 2018-04-04 09:04:42

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

[solved] cannot clone new directory - permission denied

So ive put my public key in my aur settings from aur.pub. After following the instructions on the wiki the whole contents of the file copy and pasted it in.
ssh-keygen -f ~/.ssh/aur
and also tried:
ssh-keygen -R aur.archlinux.org

then trying to checkout a new repo:
git clone ssh://aur@aur.archlinux.org/package_name.git

I get the error:
aur@aur.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

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


Have i missed something obvious?

Last edited by DBAGibbz (2018-04-04 09:21:37)

Offline

#2 2018-04-04 09:07:07

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

Re: [solved] cannot clone new directory - permission denied

Argh, i forgot a step!

Edit ~/.ssh/config and add the lines:
Host aur.archlinux.org
  IdentityFile ~/.ssh/aur
  User aur

All working now! smile

Offline

#3 2018-04-04 09:20:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,835
Website

Re: [solved] cannot clone new directory - permission denied

Great, please remember to mark your thread as solved by editing the first post and amending the topic title.

https://wiki.archlinux.org/index.php/Co … ow_to_post


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