I’m a maintainer of several AUR packages, and when I tried to update the AUR package via GIT today, it gave me the following error message:
$ git push
Connection closed by 95.216.144.15 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I’m definitely sure I correctly configured the SSH config file as below:
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
And I already copied the public key to my AUR profile.
I tried to clone the repository (AUR (en) - agisoft-metashape) but got the same error message:
$ git clone ssh://aur@aur.archlinux.org/agisoft-metashape.git
Cloning into 'agisoft-metashape'...
Connection closed by 95.216.144.15 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I set up a similar authentication with GitHub and all the git methods seem to work, so I’m sure it’s not a malfunction GIT or SSH issue on my machine.
Here’s the debug message for SSH to AUR:
$ ssh -v aur@aur.archlinux.org
OpenSSH_8.7p1, OpenSSL 1.1.1l 24 Aug 2021
debug1: Reading configuration data /home/o0331dobe/.ssh/config
debug1: /home/o0331dobe/.ssh/config line 1: Applying options for aur.archlinux.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to aur.archlinux.org [95.216.144.15] port 22.
debug1: Connection established.
debug1: identity file /home/o0331dobe/.ssh/aur type 0
debug1: identity file /home/o0331dobe/.ssh/aur-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.7
debug1: compat_banner: match: OpenSSH_8.7 pat OpenSSH* compat 0x04000000
debug1: Authenticating to aur.archlinux.org:22 as 'aur'
debug1: load_hostkeys: fopen /home/o0331dobe/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
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
Connection closed by 95.216.144.15 port 22
Could someone please enlighten me on what’s wrong with it?
Cheers
Hm, As the package in your example is on the AUR page I am wondering if maybe your User has been removed? I can’t click on your username on the webpage.
Can you login to the AUR webpage?
PS: I just updated one of my AUR packages today, so the site is still working fine.
Hi,
Yes, I can log in to the AUR webpage. I found that it’s not just the AUR’s issue. I can’t even post on the Manjaro forum and create a Zoom meeting invitation today for some reason. The only solution I found is I have to connect to some VPN (I use NordVPN) to do these tasks. I just push my AUR change with a VPN connection. This is really strange.
Thank you. Could you please give me some hint that where should I start for investigation? I found the internet is really slow today but I didn’t change anything. I even rebooted my network router today but didn’t help.
Here’s my system information
Hi,
Turning out that there was some network infrastructure maintenance in our university. I just tried the same git clone command without a VPN connection minutes ago and it seems working now.
Sorry for the interruption. I should have read all the announcement emails.