1

I am using git to host a LaTeX paper I'm writing on both my desktop and laptop. However, it has recently stopped working on the latter. One morning, I was able to clone and push over SSH just fine, but that same evening, without even touching git in the interim, it stopped working. I writegit push and it just hangs indefinitely. It still works just fine on my desktop, but I haven't been able to use git to push changes on my laptop in days.

What hasn't worked:
1. Changing Wi-Fi.

2. Usinggit push origin main instead (main branch is indeed called "main").

3. Trying to push with my firewall down.

4. Deleting the public key attached to my laptop and then adding it back.

5. Restarting my ssh agent using

killall ssh-agent; eval `ssh-agent`

6. Attempting to enter my github site username and password when pushing over https.

7. Running

git config --global core.askpass "git-gui--askpass"

This is the output of runningssh -vT[email protected]:

suednym@nashton:~$ ssh -vT[email protected]debug1: OpenSSH_10.0p2 Debian-8, OpenSSL 3.5.3 16 Sep 2025debug1: Reading configuration data /home/suednym/.ssh/configdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Reading configuration data /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.confdebug1: /etc/ssh/ssh_config line 21: Applying options for *debug1: Connecting to github.com [140.82.112.3] port 22.debug1: Connection established.debug1: identity file /home/suednym/.ssh/id_rsa type -1debug1: identity file /home/suednym/.ssh/id_rsa-cert type -1debug1: identity file /home/suednym/.ssh/id_ecdsa type -1debug1: identity file /home/suednym/.ssh/id_ecdsa-cert type -1debug1: identity file /home/suednym/.ssh/id_ecdsa_sk type -1debug1: identity file /home/suednym/.ssh/id_ecdsa_sk-cert type -1debug1: identity file /home/suednym/.ssh/id_ed25519 type 3debug1: identity file /home/suednym/.ssh/id_ed25519-cert type -1debug1: identity file /home/suednym/.ssh/id_ed25519_sk type -1debug1: identity file /home/suednym/.ssh/id_ed25519_sk-cert type -1debug1: identity file /home/suednym/.ssh/id_xmss type -1debug1: identity file /home/suednym/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_10.0p2 Debian-8debug1: Remote protocol version 2.0, remote software version 550beffdebug1: compat_banner: no match: 550beffdebug1: Authenticating to github.com:22 as 'git'debug1: load_hostkeys: fopen /home/suednym/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: sntrup761x25519-sha512debug1: kex: host key algorithm: ssh-ed25519debug1: kex: server->client cipher:[email protected] MAC: <implicit> compression: nonedebug1: kex: client->server cipher:[email protected] MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-ed25519 SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqUdebug1: load_hostkeys: fopen /home/suednym/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'github.com' is known and matches the ED25519 host key.debug1: Found key in /home/suednym/.ssh/known_hosts:4debug1: ssh_packet_send2_wrapped: resetting send seqnr 3debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: ssh_packet_read_poll2: resetting read seqnr 3debug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_ext_info_client_parse: server-sig-algs=<[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa>debug1: kex_ext_info_check_ver:[email protected]=<0>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: get_agent_identities: bound agent to hostkeydebug1: get_agent_identities: agent returned 1 keysdebug1: Will attempt key: /home/suednym/.ssh/id_ed25519 ED25519 SHA256:ADkBGmza5yaErxSSoUHdfHycyU3PJOidGiki6DeTSY0 agentdebug1: Will attempt key: /home/suednym/.ssh/id_rsa debug1: Will attempt key: /home/suednym/.ssh/id_ecdsa debug1: Will attempt key: /home/suednym/.ssh/id_ecdsa_sk debug1: Will attempt key: /home/suednym/.ssh/id_ed25519_sk debug1: Will attempt key: /home/suednym/.ssh/id_xmss debug1: Offering public key: /home/suednym/.ssh/id_ed25519 ED25519 SHA256:ADkBGmza5yaErxSSoUHdfHycyU3PJOidGiki6DeTSY0 agentdebug1: Server accepts key: /home/suednym/.ssh/id_ed25519 ED25519 SHA256:ADkBGmza5yaErxSSoUHdfHycyU3PJOidGiki6DeTSY0 agent

What am I missing? What should I try?

Operating system is Debian GNU/Linux forky/sid, and git is version 2.51.0.

8
  • 2
    To debuggit push trygit push -v (--verbose).CommentedSep 29 at 11:46
  • 1
    @phd Ah, okay, I believe I understand aboutcore.askPass. Also converted images of text to text---couldn't post it as text originally without being marked as spam. Runninggit push -v just hangs again.CommentedSep 29 at 12:21
  • 1
    "Runninggit push -v just hangs again." Any output?CommentedSep 29 at 12:24
  • 1
    Try HTTPS.Swicth protocol,create a PAT (you cannot push to GitHub with your web password), push.CommentedSep 29 at 12:31
  • 1
    Never mind, I made a mistake earlier---it worked! I just made a push from my laptop again! Thank you so much!CommentedSep 29 at 12:57

0

Know someone who can answer? Share a link to thisquestion viaemail,Twitter, orFacebook.

Your Answer

Sign up orlog in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to ourterms of service and acknowledge you have read ourprivacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.