You are not logged in.

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

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

[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: 9,183
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 X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

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

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

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: 9,183
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 X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

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

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

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

@WorMzy, thanks, that fixed it.

Offline

Board footer

Powered by FluxBB