So, I migrated to a new system, and for that, I created an SSH key to add it in GitHub for pull, push, and clone. For Android Studio and other projects, everything seems to work fine so far. But as soon as I integrated a flutter project, cloning started taking forever and after cloning I am not able to push anything. It fails with the below error,
Delta compression using up to 12 threads
fatal: the remote end hung up unexpectedly
client_loop: send disconnect: Broken pipe
fatal: the remote end hung up unexpectedly
I tried almost everything that I could find online similar to mine, but none seems to be working for me.
- Tried to increase the buffer size
- Tried creating a new SSH key just in case if that would work but nope it didn't
- Tried clearing garbage collector
- Tried setting up git username and email address and then doing a push
- Tried from GUI like sourcetree still same error.
- Here is one of the links which I followed as well but no luck. link is here
Appreciate any help!
NOTE: One thing I wanted to update, as I am running from two systems currently, my GitHub account has two SSH keys. Can it create an issue because of that? should I disable the previous one? Or it's not an issue to keep two SSH in the same account.