You are not logged in.

#1 2017-10-08 18:39:51

Cbhihe
Member
Registered: 2017-04-09
Posts: 213

[SOLVED] Issue when voting with ssh for an AUR package

Hello, 3rd post arch Newbie here, so I am prone to make mistakes. Please bear with me.

For a couple of hours, I have tried to vote via ssh for an AUR, say "packageX".
I downloaded 'openssh', ssh'ed my way to a public and private key, now located in ~/.ssh/aur.pub and ~/.ssh/aur respectively.
Next I logged in aur.archlinux.org and pasted my public key in the available field.

Then:

$ ssh aur@aur.archlinux.org vote packageX
The authenticity of the host 'aur.archlinux.org (5.9.250.164)' can't be established.
ECDSA key fingerprint is SHA256 L71Q91....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aur.archlinux.org (5.9.250.164) (ECDSA) to the list of known hosts.
aur@aur.archlinux.org: Permission denied (publickey).

I looked at my public key pasted in the AUR page field under my account and that looks ok. Can somebodygive me a pointer here ?
Cheers.

Last edited by Cbhihe (2017-10-08 20:54:45)


I like strawberries, therefore I'm not a bot.

Offline

#2 2017-10-08 18:51:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] Issue when voting with ssh for an AUR package

That should be your public key on the AUR page, not the private key

Online

#3 2017-10-08 18:53:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: [SOLVED] Issue when voting with ssh for an AUR package

...why sudo??


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2017-10-08 18:57:25

Cbhihe
Member
Registered: 2017-04-09
Posts: 213

Re: [SOLVED] Issue when voting with ssh for an AUR package

Sorry @Scimmia and @graysky: two typos
- no sudo, just plain `$ ssh ...`
(I actually tried sudo thinking I migt have a permission problem. But my first trials were with ssh. The responses in both cases were exactly the same.)
- read public key instead of private key.
Editing OP now.

Last edited by Cbhihe (2017-10-09 20:35:10)


I like strawberries, therefore I'm not a bot.

Offline

#5 2017-10-08 20:07:48

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Issue when voting with ssh for an AUR package

Did you edit your ~/.ssh/config to associate the correct key with aur.archlinux.org?

https://wiki.archlinux.org/index.php/Ar … entication

Last edited by Slithery (2017-10-08 20:08:37)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2017-10-08 20:53:52

Cbhihe
Member
Registered: 2017-04-09
Posts: 213

Re: [SOLVED] Issue when voting with ssh for an AUR package

@slithery: Thanks, you made me look for the umpteenth time. The content of the file was fine.

$ vim ~/.ssh/comfig
Host aur.archlinux.org
  IdentityFile ~/.ssh/aur
  User aur

.. but the file name had a typo. I need new glasses.
-> closed.


I like strawberries, therefore I'm not a bot.

Offline

#7 2017-10-08 21:37:51

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Issue when voting with ssh for an AUR package

No problem.

It's a good job that you didn't mention having set up the ssh config in your first post or I wouldn't have asked smile

This is the one occasion where tab-completion is a curse rather than a blessing.

Last edited by Slithery (2017-10-08 21:38:44)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB