I am trying to get GitLab working on my server (running CentOS 6.5). I followed the gitlab-receipe to the line, but I just can\'t get it working. I am able to access the web
My error was: fatal: protocol error: bad line length character: No s
This was caused because I forgot to specify the SCM-tag in the pom.xml of my Maven-project, so it used the SCM-information from the parent project instead. I also had to add our Jenkins user to the project in GitLab.
In my case I was observing this error only in "SSH Extensions" for Windows.
The same command worked from command line. I switched SSH setting from PuTTY to OpenSSH and it stopped generating error.
Another possibility is that you misspelled the repository name.
I've done it twice in the last two days. I added a remote and misspelled it and I misspelled the name when creating the project on GitLab.
In both cases when I tried to push to remote I got
fatal: protocol error: bad line length character: No s
So check that spelling!
Also, if you create the project under a different name (like a group) make sure that's the remote you add.