You are not logged in.
Hi, I'm having problem updating my AUR account. I need to add a new SSH key because my old one is ancient and I've never maintained a package. I co-maintain one package now but I can't update my SSH key in order to push changes. Every time I press update I get the message:
"The SSH public key is invalid."
Any suggestions? Thanks
Last edited by Luciddream (2021-03-29 12:18:07)
Offline
You're pasting it with no newlines or anything, right? What are you putting in exactly?
Offline
Yes, I'm just pasting the public key. For example this is one of the two I've tried:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzpiOONDVF5loZSkuwQn8uz7JjJgZ4z6LSK5APLbY4HP0x2m/u2YtSNVoOrME+4Hf0sfzzu2DRXk73hCBg1bLJk7OlTzO4wfTl4MLmxHAne3veWT7FO2VdSO06QZYvCbNkPMshWJ78381Ru2OVtQx5EjIoXOl1fghVG07pcygOjL939EdwjZ0Wzm9W0ZfjxMUdzI2BOqWW4d4eaaUd35my0xpYM81zF13V/Cj5PbL3csdkZwsX9haV6jGOxFswgoM6QLHy8luge7y3UlenfnMqS2
rJDuB5blarAa4emK4owVyRZjmypKaAlrDlRu4kZmeVOXcfo9h2itKaHJyhCtEtuPTp8wRIvCjF7FSwzFtPFpr66pqrCpSfVQsviRQIlAht3jJEdmccGdy6Ib4IZeozSMTE30tu0SZNtvhnOUDlObibhj9z86nVmzBD9S/CjtjLWjhDsmWKvnDkYFW3jh8hOHEkfdF+PP+989P7qMuZo60JWvBRdZzBZlio67dJBXc=
Offline
And it's complaining about the ssh key, not the pgp key?
Offline
And it's complaining about the ssh key, not the pgp key?
Yes, just the message I posted. I'm not sure what else I can do to fix it.
Offline
How did you generate the key pair? The public key lacks the comment.
Offline
The key you posted has a linebreak which is not allowed. Was that added by the forum?
Here it is without a linebreak
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzpiOONDVF5loZSkuwQn8uz7JjJgZ4z6LSK5APLbY4HP0x2m/u2YtSNVoOrME+4Hf0sfzzu2DRXk73hCBg1bLJk7OlTzO4wfTl4MLmxHAne3veWT7FO2VdSO06QZYvCbNkPMshWJ78381Ru2OVtQx5EjIoXOl1fghVG07pcygOjL939EdwjZ0Wzm9W0ZfjxMUdzI2BOqWW4d4eaaUd35my0xpYM81zF13V/Cj5PbL3csdkZwsX9haV6jGOxFswgoM6QLHy8luge7y3UlenfnMqS2rJDuB5blarAa4emK4owVyRZjmypKaAlrDlRu4kZmeVOXcfo9h2itKaHJyhCtEtuPTp8wRIvCjF7FSwzFtPFpr66pqrCpSfVQsviRQIlAht3jJEdmccGdy6Ib4IZeozSMTE30tu0SZNtvhnOUDlObibhj9z86nVmzBD9S/CjtjLWjhDsmWKvnDkYFW3jh8hOHEkfdF+PP+989P7qMuZo60JWvBRdZzBZlio67dJBXc=
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
The key you posted has a linebreak which is not allowed. Was that added by the forum?
Thanks, you are right. I think it's the gnome terminal that added the linebreak. I thought forum / aur was just wrapping it. All is good now
Offline