Gitolite through password instead of a key

Is there a way to make GitoLite work through passwords rather than through public+private keys? For example, to make it in such way that the user can clone the repository only through his/her own gitolite password confirming his/her identity, not by generating a key pair for that.

  • How can I untrack a file from a git repository in Intellij
  • git says “fatal: confused by unstable object source data”
  • How to exclude R.java from Git tracking (after the fact)?
  • Force overwrite of local file with what's it origin repo?
  • configure Git to accept a particular self-signed server certificate for a particular https remote
  • How to set a Git config option when its config file is “$XDG_CONFIG_HOME/git/config”?
  • Why is this a bad config line for my .gitconfig?
  • How to merge head commits from another branch?
  • Git — Keep `Master` and `branch` in the Same Folder
  • Remove a file from git which is not pushed yet but also not in latest commit?
  • Proper configuration for Jenkins GitHub Pull Request Builder downstream
  • git tries to delete a directory on checkout
  • 2 Solutions collect form web for “Gitolite through password instead of a key”

    No. The entire point of gitolite is that it uses keypairs to determine someone’s identity, so that it can manage users, instead of having to manage them on the system.

    You could bypass gitolite by giving some users shell access to the repository directories, and having them push directly via ssh (and authenticate with their method of choice, e.g. passwords) but this really would be bypassing it. Gitolite would no longer be able to do all of the fancy things it does, namely checking to see if a given user is authorized to perform a given operation.

    Password authentication is possible with gitolite.
    Let’s say user X is authenticated using password.
    The workaround is that you need to create a custom script that acts like a shell for user X.
    The script redirects the git commands to the gitolite’s user using key authentication.
    The next step is to make generate a key pair for user X account and add the public key to the gitolite admin’s key.

    Here is a link that explains it all.

    Git Baby is a git and github fan, let's start git clone.