You are not logged in.

#1 2016-12-08 17:56:54

Knucklegrumble
Member
Registered: 2015-08-25
Posts: 4

Can't ssh into aur.archlinux.org to clone repos

Hello, I've been trying to publish one of my packages on AUR so I created an account, created the ssh key pair and copy/pasted the content of my pub key into the account field making sure not to leave any unwanted new lines or other characters.

every time I try to clone a new repo I get "Permission denied (publickey)." so I ran ssh -v tmorello@aur.archlinux.org and this is the output:

OpenSSH_7.3p1, OpenSSL 1.0.2j  26 Sep 2016
debug1: Reading configuration data /home/tony/.ssh/config
debug1: /home/tony/.ssh/config line 1: Applying options for aur.archlinux.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to aur.archlinux.org [5.9.250.164] port 22.
debug1: Connection established.
debug1: identity file /home/tony/.ssh/aur type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/tony/.ssh/aur-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.3
debug1: match: OpenSSH_7.3 pat OpenSSH* compat 0x04000000
debug1: Authenticating to aur.archlinux.org:22 as 'tmorello'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: umac-64-etm@openssh.com compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: umac-64-etm@openssh.com 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/tony/.ssh/known_hosts:2
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/tony/.ssh/aur
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).

NOTE: I created a ~/.ssh/config file with

Host aur.archlinux.org                   
  IdentityFile ~/.ssh/aur
  User aur

What am I missing?

Offline

#2 2016-12-08 18:02:26

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

Re: Can't ssh into aur.archlinux.org to clone repos

Knucklegrumble wrote:

so I ran ssh -v tmorello@aur.archlinux.org and this is the output:

You need to use the username aur to test via ssh, but as this is specified in your config file you just use...

ssh aur.archlinux.org

However I don't think this is the main problem, access to all of the *.archlinux.org sites has been flaky for a few people today so it may just be a temporary glitch at that end.

Edit - I've just tried a 'git pull' on some of my existing AUR packages and am getting a 'Permission denied' error, I think this is definitely an upstream problem.

Last edited by Slithery (2016-12-08 18:05:24)


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

#3 2016-12-08 18:03:01

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

Re: Can't ssh into aur.archlinux.org to clone repos

The "tmorello@" could very easily be screwing you up. You don't want that at all.

Online

Board footer

Powered by FluxBB