Ssh – Git Clone from SSH Repository

gitssh

I used to be able to clone from my personal git repository but now i seem to be running into an error.

user:dev.site.com mikesilvis$ git clone { my ssh directory }
server@ipaddress's password: 

remote: Counting objects: 3622, done.
remote: Compressing objects: 100% (2718/2718), done.
error: git upload-pack: git-pack-objects died with error.  
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

It seems to be working however while I push files to the repository.

Best Answer

The error message

git-pack-objects died with error

suggests that there's something wrong with the remote. Can you ssh into the remote and run git fsck? If that finds any errors, you may have a faulty CPU, RAM or storage device (believe me or not but git is really good at finding those). Another thing to check is to make sure that both the local system and remote systems are not running out of storage space.