I am trying to clone my repository using ssh from bitbucket but whenever i clone the repository i get:
Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
During cloning repositories of small size it gets cloned but when cloning bigger size repositories gives the error.
I also have tried this method:
fatal: early EOF fatal: index-pack failed
but no luck. Could any one help with the issue?
Note:
Http cloning works fine, but that doesn't work in my scenario. I need to clone using only ssh. 
 
     
     
     
     
     
     
     
     
    