Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7982137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:35:17+00:00 2026-06-04T10:35:17+00:00

I am trying to setup gitolite on Ubuntu Server! It seems to work as

  • 0

I am trying to setup gitolite on Ubuntu Server! It seems to work as I could clone gitolite-admin

But when I try to issue the command on the client

git clone gitolite@ubuntu-server:testing

It ask for a password for gitolite, but my ssh password that I configured on the client is not accepted

Have I done anything wrong somewhere?

I did copy the .pub to the server and ran gl-setup without problems

NB: I am very green with git

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:35:19+00:00Added an answer on June 4, 2026 at 10:35 am

    Check the content, on the server gitolite account, of:

     ~/.ssh/authorized_keys
    

    You should see your public key within a gitolite start / gitolite-end:

    #more authorized_keys
    # gitolite start
    command="/home/gitolite/bin/gitolite-shell gitoliteadm",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa ABCAB3NzaC1yc2EAAAADAQABAAABAQCxy5Y1epgjph3h439etAognIP4rlpDlD0OBh2rh+9DHMwlMad04zb3Tah5HQ
    10Zg7mFWvltZlIBdhk5cBr3/mN1dNiRFspKwD2Z0yQaaI23zjHnXRAgLV76SOImICUt9CfCtGOy6jQH+2x4j921DL2cT8Ib+RslhBUEUdc3qNvOQSNhIz2qTVHJ676ohGFiqitgswIVIk6WRS+fERx6JFy9o7rLnnOCrozHYU271TwFgYqfNS7TuV4ZFwTP04hDGN+YALjvcQ0KGQGY/7qok+h5nHoRh9RDTeSJ2gDK2M4QPrTCzkCa0ebCexP2lR9G0iXYcClzXitttKDH7cls0j Gitolite Admin access (not interactive)
    # gitolite end
    

    Make sure to use the latest gitolite (V3), which is the case if you have:

    /path/to/gitolite/bin/gitolite-shell
    

    (you can execute: gitolite-shell xxx on the server to check what version you are using)

    Make also sure to not protect (at least at first) your private ssh key with a password.

    If it keeps asking you for a password, edit your question with the content of:

    ssh -vvv gitolite@ubuntu-server
    

    The OP adds:

    If I run git clone morten@ubuntu-server:testing and type my password everything works well… But now I can’t seem to push anything to the repository

    That means now the ssh part is running properly, however don’t forget your first push must be a:

    git push origin master
    

    (see “git push origin master:refs/heads/master what does this do“)

    That is because the default push policy (which might change soon) is to push matching branches (and if you didn’t push anything yet, there wouldn’t be a master branch on the remote repo yet)

    The other trick is to make sure you are on a branch before pushing

    git checkout master
    git push
    

    (and not trying to push while you are in a detached head mode)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to setup Gitolite but I'm running into a weird issue: When I
I am trying to setup SSRS 2008 on Windows Server 2008. It seems to
I'm trying to install gitolite on my ubuntu server machine. still, there're lots of
I'm trying to setup CutyCapt on my Ubuntu 10.4 server. I generate a thumbnail
I'm trying to setup a ubuntu box so I can do some work, and
I'm trying to setup mysql on my production server(Ubuntu 12.04). I followed this tutorial
I am trying to setup a shared authentication system on a build server. We
I'm trying setup costum storege. Looks like all is ok. But there is the
Im trying to setup my django project on a staging server with nginx, virtualenv,
I am trying to setup an nginx + sinatra + ubuntu 10.04 + passenger

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.