I am trying to configure a git server on Ubuntu Server 10.10 using gitolite and following a tutorial on Ubuntu for Gitolite .
First I create the git user with the following command: sudo adduser git
I set a password for this user.
Then I generate the rsa key with the command: ssh-keygen , I call it id_rsa_git .
After that, I want to associate it with the git user using the following command:
ssh-copy-id -i ~/.ssh/id_rsa_git.pub git@localhost
The request asks me for the password for the git user, and after providing it (good), I get the following error:
Permission denied, please try again.
I canβt go any further since Iβm pretty free in Linux administration. Can anybody help me?
Thanks.
source share