I just installed gitlab and followed this official guide: https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
On the same server as where I installed git(lab) I am trying to create a repository by doing the following:
su git (i started by logging in with the git user) cd /home/git/repositories mkdir test-project cd test-project git init touch README git add README git commit -m 'first commit' git remote add origin git@mydomain:root/test-project.git git push -u origin master
But when I enter the last line a password is prompted for user git@mydomain.com.
Also when I enter
ssh -T git@localhostor
ssh -T git@mydomain.comI get a password prompted.
I've been trying loads of possible solution written on the internet but none seems to work.
Thanks for the help in advance.