Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

This is usually a problem with your 'username' in the id_rsa.pub, open it up, and make the text at the end something like 'alan.pub'

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.