following kind of errors:
is asking for password when we close as below:
public key/password mismatch or Enter password
lot of research we found that, gitolite is completely depends on ssh. In
gitolite-admin, we have keydir
for all pub keys for a particular user and conf/gitolite.conf
for repository access. When we add a new user, we are executing below
- git add .
- git commit -m "comment"
- git push origin master
above commands will add the public key of particular user to the <git
or gitolite user>/.ssh/authorized_keys file in below format:
<user pubkey here>
So check the /home/git/.ssh/authorized_keys file whether particular
user has an associated key added in above format or not. If not add
manually which will fix the issue.
Further troubleshooting step can be found here!