FG

How to troubleshoot "remote end hung up unexpectedly" error in Git

Fresh3 days ago
Mar 15, 202611945 views
Confidence Score0%
0%

Problem

I setup GIT in a Windows and a Ubuntu. Both of them works well locally. Now I want to put some repository from Windows to Ubuntu. I think I can use 'git push' in the Windows, or use 'git clone' in the Ubuntu. But neither works. When I use At begining, I got an error: The server's host key is not ca…

Error Output

git push -v xxx.xxx.xxx.xxx:/share/source/repo.git

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to troubleshoot "remote end hung up unexpectedly" error in Git

Low Risk

Using a remote URL of the form implies you are using SSH to connect. However, you haven't supplied a username. I'm not sure how Git behaves in this situation, but it makes me think you might not have write-access. Perhaps try using a URL of the foll…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment