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 7769709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:13:30+00:00 2026-06-01T16:13:30+00:00

I was able to setup Virtualbox with Gitlab using these instructions –> https://github.com/gitlabhq/gitlabhq/wiki/VirtualBox-Image .

  • 0

I was able to setup Virtualbox with Gitlab using these instructions –> https://github.com/gitlabhq/gitlabhq/wiki/VirtualBox-Image. The web interface works just fine and I have added my host public key and created a ‘test’ project. However, I am unable to push to my test repository since it asks for git@33.33.33.10’s password after making a test directory and doing a ‘git init’. I have added my key and the web interface works just fine. Any ideas what could be wrong?

$ git remote add test git@33.33.33.10:test.git
$ git push -u test master
git@33.33.33.10's password: ...

I’ve tried this as well with the same results ( 2222 VM-side equals 22 Host-side):

git remote add test ssh://git@localhost:2222/test.git
git push -u test master
git@localhost's password:...

Should not require a password. I have also added the ‘vagrant’ user to the ‘git’ group on the VM.

I’ve verified that on the VM I am able to correctly receive the expected results below:

vagrant@lucid32:~$ ssh -T git@localhost
hello rails, this is gitolite v2.2-11-g8c4d1aa running on git 1.7.0.4
the gitolite config gives you the following access:
     R   W  gitolite-admin
    @R_ @W_ testing

Here is my VagrantFile:

Vagrant::Config.run do |config|
config.vm.box = "gitlab"
config.vm.network :hostonly, "33.33.33.10"
end

This has something to do with remote git pushing to virtualbox. Thanks for the help!

  • 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-01T16:13:31+00:00Added an answer on June 1, 2026 at 4:13 pm

    I did a brand new install using the gitlabhq_install scripts not in a virtual machine and had the original same issue. I was able to create a project and add my key via the web interface but could not push at all to a test repo. So I added my user (not the gitlabhq user) public ssh key by running “ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host” and restarted ssh. I still got the same issue so I ‘sudo vim /home/git/.ssh/authorized_keys’ and manually copied my key that was added with the above command to between the ‘#gitolite start/end’ tags. After resetting ssh only then was I able to finally push… now I am still scratching my head but at least it works I guess.

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

Sidebar

Related Questions

I was able to get PHP setup correctly using the Web Platform installer. I
I tried to run the https://github.com/flatiron/director#client-side example to get familiar with director.js. I am
I was able to setup Glassfish container managed security following this http://jugojava.blogspot.com/2011/02/jdbc-security-realm-with-glassfish-and.html Now, all
I would like to be able to setup my GitHub repo to integrate with
I was able to setup some ASP.NET Image controls to render images from a
I'm wondering, in IE & Firefox you're able to setup the browser, to allow
I have setup an anonymous cvs user to be able to check out my
I have Eclipse setup with PyDev and love being able to debug my scripts/apps.
Is there any drawback to this setup? I want to be able to run
When I publish my project clients will need to be able to setup the

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.