You are not logged in.

#1 2019-11-13 22:50:04

a_manthey
Member
Registered: 2017-08-21
Posts: 35

[Solved] Private ssh key lost, can't update Aur package

i did not save .ssh-dir and lost the key files used for Aur by new installation.
No problem to generate a new key pair and upload the public key.
But how to revoke the old one?

any help appreciated

Last edited by a_manthey (2019-11-14 12:55:24)

Offline

#2 2019-11-13 23:03:14

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

Re: [Solved] Private ssh key lost, can't update Aur package

When you add the new public key, just remove the old one.

Mod note: moving to AUR Issues.


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

#3 2019-11-14 11:22:11

a_manthey
Member
Registered: 2017-08-21
Posts: 35

Re: [Solved] Private ssh key lost, can't update Aur package

did so. Now i get an 403-error:

$ git push
fatal: konnte nicht auf 'https://aur.archlinux.org/tuxedo-keyboard-dkms.git/' zugreifen: The requested URL returned error: 403

my config:

 $ git config --global --list
user.email=<email from my aur account>
user.name=a_manthey

$ less ~/.ssh/config
Host aur.archlinux.org
  IdentityFile ~/.ssh/aur
  User aur

private and public ssh-key-files aur and aur.pub are in ~/.ssh
what can i do?

Offline

#4 2019-11-14 12:13:28

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

Re: [Solved] Private ssh key lost, can't update Aur package

That's a read-only url. You need to push to the ssh://aur@aur.archlinux.org/package.git URL


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

#5 2019-11-14 12:54:57

a_manthey
Member
Registered: 2017-08-21
Posts: 35

Re: [Solved] Private ssh key lost, can't update Aur package

@WorMzy, thanks, that fixed it.

Offline

Board footer

Powered by FluxBB