You are not logged in.

#1 2022-09-22 15:53:47

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

[Solved] Cloning from / Pushin to my AUR Package stuck on git command

Hi,

so today I wanted to submit changes to one of my aur packages. However, for some reason the command just gets stuck and doesn't finish. After quite some time it stops with an error.
I've launched the git push (same for cloning the private repo by the way) with GIT_SSH_COMMAND="ssh -v" so that I get some output of what is happening. It looks like the ssh authentication via key is working fine, not sure what happens then. Below is the output ...

❯ GIT_SSH_COMMAND="ssh -v" git push origin master

OpenSSH_9.0p1, OpenSSL 1.1.1q  5 Jul 2022
debug1: Reading configuration data /home/simon/.ssh/config
debug1: /home/simon/.ssh/config line 15: Applying options for aur.archlinux.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to aur.archlinux.org [2a01:4f9:c010:50::1] port 22.
debug1: Connection established.
debug1: identity file /home/simon/.ssh/aur_new type 0
debug1: identity file /home/simon/.ssh/aur_new-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.0
debug1: compat_banner: match: OpenSSH_9.0 pat OpenSSH* compat 0x04000000
debug1: Authenticating to aur.archlinux.org:22 as 'aur'
debug1: load_hostkeys: fopen /home/simon/.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: sntrup761x25519-sha512@openssh.com
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
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:RFzBCUItH9LZS0cKB5UE6ceAYhBD5C8GeOBip8Z11+4
debug1: load_hostkeys: fopen /home/simon/.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: Host 'aur.archlinux.org' is known and matches the ED25519 host key.
debug1: Found key in /home/simon/.ssh/known_hosts:4
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/simon/.ssh/aur_new RSA SHA256:6cofwj4MRtaOFPmX6DNlJzx1uBl7xsdzgXQ2msQZ0FY 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,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>
debug1: kex_input_ext_info: publickey-hostbound@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/simon/.ssh/aur_new RSA SHA256:6cofwj4MRtaOFPmX6DNlJzx1uBl7xsdzgXQ2msQZ0FY explicit
debug1: Server accepts key: /home/simon/.ssh/aur_new RSA SHA256:6cofwj4MRtaOFPmX6DNlJzx1uBl7xsdzgXQ2msQZ0FY explicit
Enter passphrase for key '/home/simon/.ssh/aur_new': 
Authenticated to aur.archlinux.org ([2a01:4f9:c010:50::1]:22) using "publickey".
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: client_input_hostkeys: searching /home/simon/.ssh/known_hosts for aur.archlinux.org / (none)
debug1: client_input_hostkeys: searching /home/simon/.ssh/known_hosts2 for aur.archlinux.org / (none)
debug1: client_input_hostkeys: hostkeys file /home/simon/.ssh/known_hosts2 does not exist
debug1: client_input_hostkeys: no new or deprecated keys from server
debug1: Remote: /usr/local/bin/aurweb-git-auth.sh "%t" "%k":1: key options: command
debug1: Remote: /usr/local/bin/aurweb-git-auth.sh "%t" "%k":1: key options: command
debug1: Sending command: git-receive-pack '/twad-git.git'
client_loop: send disconnect: Broken pipe
fatal: Could not read from remote repository.

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

this command here right at the end

debug1: Sending command: git-receive-pack '/twad-git.git'

just hangs for minutes before finally terminating with the error shown.

Any idea what is causing this?

Edit: In case it helps, this is the repo
https://aur.archlinux.org/packages/twad-git

Best regards

Last edited by smnpl (2022-09-22 17:55:05)


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#2 2022-09-22 17:55:59

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: [Solved] Cloning from / Pushin to my AUR Package stuck on git command

So not sure what happened. To experiment I tried cloning a new and empty repo from AUR which worked. After that the existing repo started working again as well ... So the issue is resolved, even though I don't know what changed.


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

Board footer

Powered by FluxBB