How can I make gitosis distinguish between two users with the same username

Posted by bryan kennedy on Server Fault See other posts from Server Fault or by bryan kennedy
Published on 2010-11-11T15:47:49Z Indexed on 2010/12/30 16:55 UTC
Read the original article Hit count: 323

Filed under:
|
|
|

I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different hosts.

For example:

[email protected] 's SSH key is in the key folder.

And so is [email protected] 's SSH is also in the key folder.

These two jsmith's are two different people on two different computers. However, when I configure them in the gitosis.conf file with the usernames jsmith@computer or jsmith@machine, it seems like each user just gets the same permission.

Can gitosis not distinguish the full username (name and host)? If not, how do I deal with multiple users accessing our system with common usernames? Thanks for any help.

© Server Fault or respective owner

Related posts about ssh

Related posts about user-management