O
O
Oleg-san2014-06-12 01:39:19
SSH
Oleg-san, 2014-06-12 01:39:19

Can't setup on GitLab push via ssh?

There is a server with GitLab 6.9.2, Nginx 1.6 and Ubuntu 12.04.4 LTS.
When trying to push to GitLab via ssh, the error "No supported authentication methods available (server sent publickey)" occurs, everything works fine via http.
The user's SSH key was added according to the instructions written in the "manual" https://gitlab.com/gitlab-org/gitlab-ce/blob/6-9-s...
In the home/git/.ssh folder, two file. Using puttygen and the generated id_rsa file, a private key was created. Which has been added to pageant. But when you try to push, the reason described above occurs.
Can anyone suggest why this error might occur?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CatWithTail, 2015-07-16
@CatWithTail

What user is #git push running as?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question