You are not logged in.
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
That should be your public key on the AUR page, not the private key
Online
...why sudo??
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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
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)
Offline
@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
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
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)
Offline