I am trying to install gitosis on my server but keep getting the error "Username contains not allowed characters"
sudo -H -u git gitosis-init < /tmp/id_rsa.pub
with the username "abhinav@115.118.212.234.static-delhi.vsnl.net.in".
Any fix for this?
I am on a Mac and trying to install gitosis on Snow Leopard.
Update
I changed the username in the public key to abhinav@vindev.net and it worked. Probably it's a problem with the hyphen sign. After installing I tried this
git clone git@vindev.net:gitosis-admin.git
cd gitosis-admin
but it fails saying
fatal: 'gitosis-admin.git': unable to chdir or not a git archive
Any ideas about what I may be doing wrong?
This is the guide I followed: http://nfocipher.com/index.php?op=ViewArticle&articleId=12&blogId=1