I'd like to be able to clone, push and pull (via SSH) on my Gitlab-Server from/to itself.
Currently, when try to clone a git repository locally from my server I get this:
jacob@server: git clone email@example.com:project.git fatal: 'project.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly
When I try to connect via ssh, I get a normal shell:
jacob@server: ssh firstname.lastname@example.org: git@server:~$
Replacing git.example.com with localhost, 127.0.0.1 or the local IP yields the same results.
Cloning/... from another PC works flawlessly. When I connect via SSH from an other PC, it shows:
jacob@mypc: ssh email@example.com: PTY allocation request failed on channel 0 Welcome to GitLab, jacob! Connection to git.example.com closed.