FS#66656 - Unable to access the AUR via SSH.

Attached to Project: AUR web interface
Opened by William Brown (plshelpme19132) - Friday, 15 May 2020, 05:36 GMT
Last edited by Jonas Witschel (diabonas) - Tuesday, 02 November 2021, 10:22 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I am attempting to submit a package. I read the Wiki page: "AUR submission guidelines". In the Authentication section, I am told to create a config file and generate a key. I did everything it told me to do. When connecting, I entered the fingerprint. I have done everything that I need to do, yet when I attempt to clone the (empty) repo, I am met with:

aur@aur.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I don't know what to do. This is my "ssh -v aur.archlinux.org" output:

OpenSSH_8.2p1, OpenSSL 1.1.1g 21 Apr 2020
debug1: Reading configuration data /home/garbage/.ssh/config
debug1: /home/garbage/.ssh/config line 1: Applying options for aur.archlinux.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to aur.archlinux.org [2a01:4f8:160:3033::2] port 22.
debug1: Connection established.
debug1: identity file /home/garbage/.ssh/aur type 0
debug1: identity file /home/garbage/.ssh/aur-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2
debug1: match: OpenSSH_8.2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to aur.archlinux.org:22 as 'aur'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI
debug1: Host 'aur.archlinux.org' is known and matches the ECDSA host key.
debug1: Found key in /home/garbage/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/garbage/.ssh/aur RSA SHA256:PrWfApfQvUABIVWIywKGMIeqja4zjjdjJboqtOabggc explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/garbage/.ssh/aur RSA SHA256:PrWfApfQvUABIVWIywKGMIeqja4zjjdjJboqtOabggc explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
aur@aur.archlinux.org: Permission denied (publickey).
This task depends upon

Closed by  Jonas Witschel (diabonas)
Tuesday, 02 November 2021, 10:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  SSH access requires the public key added to your AUR account
Comment by Lukas Fleischer (lfleischer) - Friday, 15 May 2020, 11:51 GMT
Thanks for the report! Did you make sure that the key SSH tries to use here is the same you added to your AUR user profile?
Comment by William Brown (plshelpme19132) - Saturday, 16 May 2020, 03:53 GMT
I wasn't aware of the need to create an account. Please close this bug report. I'm sorry for the inconvenience.

Loading...