gitsshgit-pull

Git pull freeze Mac


I am unable to execute git pull or git clone from the terminal or the terminal inside VSCode. I just get no feedback. I have repeatedly tried to change WIFI, restart laptop, restart VSCode, regenerate SSH Keys, without success. Also executed git gc --prune=now --aggressive, which did not help. Do you know what might be the issue and what else I could try?

enter image description here

Update

enter image description here

unset SSH_AUTH_SOCK did not help either, nor did turning off the firewall


Solution

  • Seems like the latest Mac update to Monterey 12.15.1 broke the connection to github, so what I did to fix it in the end was to delete the Cisco AnyConnect Socket Filter app from my Mac, regenerate keys using ssh-keygen -t ed25516 -C "your_email@example.com" -f $HOME/.ssh/id_ed25516 command, then place the ~/.ssh/id_ed25516 file contents in a new SSH Key on my github account. After these changes, the git pull commands started working again.