Permission denied (publickey,password). fatal: Could not read from remote repository.
I am trying to do the same thing of issue 13
https://gitlab.com/gitlab-org/gitlab-recipes/issues/13
using instead ssh
elect@elect-desktop:/Documents$ mkdir test1
elect@elect-desktop:/Documents$ cd test1/
elect@elect-desktop:/Documents/test1$ git init
Initialized empty Git repository in /home/elect/Documents/test1/.git/
elect@elect-desktop:/Documents/test1$ touch README
elect@elect-desktop:/Documents/test1$ git add README
elect@elect-desktop:/Documents/test1$ git commit -m 'first commit'
[master (root-commit) 5f6f9b9] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README
elect@elect-desktop:/Documents/test1$ git remote add origin git@x.x.x.x:elect/test1.git
elect@elect-desktop:/Documents/test1$ git push -u origin master
git@x.x.x.x's password:
Permission denied, please try again.
git@x.x.x.x's password:
Permission denied, please try again.
git@x.x.x.x's password:
Permission denied (publickey,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Sorry, but I can't get which password I am supposed to insert for the user git
When I followed the tutorial
https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
I just created it using no pwd..
sudo adduser --disabled-login --gecos 'GitLab' git