users are asked for password while using gitolite

In your config file, I see: User dilawar That is wrong. ssh communication to a gitolite server are always done with the same account (here gitolite). What changes is the private key used, which will help gitolite determine your identity. What you ~/.ssh/config file should look like is: Host admin HostName 10.107.105.13 User gitolite IdentityFile … Read more

Specify an SSH key for git push for a given domain

Even if the user and host are the same, they can still be distinguished in ~/.ssh/config. For example, if your configuration looks like this: Host gitolite-as-alice HostName git.company.com User git IdentityFile /home/whoever/.ssh/id_rsa.alice IdentitiesOnly yes Host gitolite-as-bob HostName git.company.com User git IdentityFile /home/whoever/.ssh/id_dsa.bob IdentitiesOnly yes Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname … Read more

How do programs like gitolite work?

gitolite in itself is an authorization layer which doesn’t need ssh. It only needs to know who is calling it, in order to authorize or not that person to do git commands. SSH is used for authentication (but you can use an Http Apache for authentication as well, for instance) The way gitolite is called … Read more

gitosis vs gitolite? [closed]

I am looking for installing a git server to share projects with my team. You can just use git. To have a git server the only thing you need on the remote server is git. If you don’t require fine-grained permissions (sharing with only your team suggests that’s a possibility) or any extra features, you … Read more