Hi All,
I am trying to host a git repository. Googling around found this tutorial regarding hosting git repositories. But things didn’t go well :(
I am using Ubuntu 10.04. IP: 192.168.0.131 Openssh running on port 22
It was going good till setting up gitosis-admin repo. Here is what I did.
I generated public key on this host linux machine and initialzed gitosis with that key.
ssh-keygen –t rsa.
sudo -H -u gituser gitosis-init < ~/.ssh/id_rsa.pub
Then I tried to clone gitosis-admin repository on linux machine with different forms
git clone [email protected]:gitosis-admin.git
git clone ssh://[email protected]:22/gitosis-admin.git
But getting ERROR:
Permission denied (publickey)
fatal: The remote end hung up unexpectedly
Could you please help me on this?