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 "[email protected]".
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 [email protected] and it worked. Probably it's a problem with the hyphen sign. After installing I tried this
git clone [email protected]: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