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.

  • Is it possible to make git to track empty folders?
  • How to update my git working copy to a previous revision
  • Git tag in Visual Studio 2015 isn't visible on GitHub web site
  • How to initialize local git repository and tell it it is already in sync with server?
  • How to import Github issues and wikis to BitBucket?
  • How to access Github through firewall playing man-in-the-middle when using https?
  • Authenticating to a Github remote with name and password
  • How to List all folders (projects) of a Git Repository
  • Migrate from Git to Svn
  • Can I retrieve a file in git that had been created, staged, never committed, but then removed?
  • Exclude readme from Github pull request
  • Unable to push files to my github repository
  • 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.