P
P
PP2015-05-07 11:11:44
git
PP, 2015-05-07 11:11:44

How to fix gitlab connection error?

here is the error:

git did not exit cleanly (exit code 128) (13899 ms @ 07.05.15 13:54:55)

In general, there is a remote machine with Debian on board, where gitlab is installed; and there is a local machine with tortoisegit.
Created repositories with hello_world file via gitlab-a web interface. And I want to clone this repository on the local machine.
1. Generated an ssh key via puTTYgen
2. Saved both the private and public keys
3. Added the public key as "ssh key" in the profile settings (gitlab)
4. Make a clone through the context menu in the desired folder (Git clone)
5. Specify the url like: [email protected]:User/repo.git
6. Check the box Load Putty Key and specify the key itself (C:\Users\User\.ssh\mykey.ppk)
7. click ok
8. Requires a password for the git user, I specify.
9. and then an error occurs.
git did not exit cleanly (exit code 128) (13899 ms @ 07.05.15 13:54:55)

I tried to regenerate the key, it did not help.
Could it be that the git user does not have enough rights to write something somewhere?
Or maybe I'm doing something wrong somewhere?
Is this a problem on the server or on the client?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PP, 2015-07-11
@Kadi

In general, I solved the problem using not SSH url, but HTTP

V
Victor, 2015-05-09
@v_decadence

Maybe the problem is in the key format that Putty generates, try to make a key via ssh-keygen via msysgit's Git Bash, add it to the server and clone via Git Bash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question