0

When creating a USERNAME.pub file with a public key and adding USERNAME to the config file, is the USERNAME string arbitrary (I can name my gitosis users how I like), or determined by something like the SSH key?

Gitosis tutorials give examples of how to add users to a repo which are very clear (eg http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way) but they don't explain this point.

joachim
  • 28,554
  • 13
  • 41
  • 44

1 Answers1

0

Yes it should be the filename of the key minus the .pub extension. So yes you can name the users whatever you like.

I would like to point out however that gitosis appears to be unmaintained and deprecated by the git community in favor of gitolite.

Arrowmaster
  • 9,143
  • 2
  • 28
  • 25
  • I'm realizing that now... it's just that the top Google hit for 'hosting git repository' is a Gitosis tutorial :/ – joachim Feb 01 '11 at 11:29