I just installed gitlab server on CentOS 6, but not able to push any changes to the repo via ssh.
A simple ssh works though
ssh -T email@example.com Welcome to GitLab 5.2, Anonymous!
But when I try to push anything I get
fatal: The remote end hung up unexpectedly
There is exactly same problem discussed in stack over flow but I that does not seems to help in my case.