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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:45:07+00:00 2026-05-28T20:45:07+00:00

I setup a server with gitosis (yum install gitosis (CentOS 6.2)) and configure my

  • 0

I setup a server with gitosis (yum install gitosis (CentOS 6.2)) and configure my deploy.rb as follow:

set :application, "uda"
set :domain,      "10.0.0.59"
set :deploy_to,   "/var/www/html/"
set :app_path,    "app"

set :user,        "root"
set :use_sudo,    false
#default_run_options[:pty] = true
ssh_options[:port] = 22
set :php_bin, "/usr/bin/php"

set  :repository,  "gitosis@10.0.0.59:uda.git"
set :scm,         :git

set :branch,      "master"

role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain                         # This may be the same as your `Web` server
role :db,         domain, :primary => true       # This is where Rails migrations will run

set :update_vendors, true

set  :keep_releases,  5

# 
# ssh_options[:forward_agent] = true
# set :model_manager, "doctrine"

set :shared_files,      ["app/config/parameters.ini"]
set :shared_children,     [app_path + "/logs", web_path + "/uploads", "vendor"]

When I launch that with cap deploy asks for a password. Gitosis don´t have any password, so I think is asking for root password. I´m getting this:

==> cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "git ls-remote gitosis@10.0.0.59:uda.git master"
/Users/gitek/.ssh/config line 2: garbage at end of line; "#".
fatal: The remote end hung up unexpectedly
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/html/releases/20120126081107; true"
    servers: ["gureak-akademi.grupogureak.com"]
Password: 
    [gureak-akademi.grupogureak.com] executing command
    command finished in 58ms
Command git ls-remote gitosis@10.0.0.59:uda.git master returned status code 32768

Anyway, if I connect to my server via ssh and launch

root@centos ~]# git ls-remote gitosis@10.0.0.59:uda.git master
gitosis@10.0.0.59's password: 

It keekps asking for a password…

Any help or clue?

  • 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-05-28T20:45:08+00:00Added an answer on May 28, 2026 at 8:45 pm

    check ~/.ssh/authorized_keys file has id_rsa.pub content

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

Sidebar

Related Questions

I have development server setup running Adobe Coldfusion8 (.war install) on top of Caucho
I set up gitosis on a server. Cloning and pushing from my laptop works
I've recently set up cygwin, git, and gitosis on my Windows Server 2003 box
I'm trying to install MS CRM 2011, and I continually get the Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction
I have setup a git server using gitosis and everything was going fine. I
I'm trying to set up gitosis on a server. I was just wondering one
I've setup a server to automatically deploy the trunk of our repository whenever it
I have gitosis setup on my server and I'm trying to create a post-receive
I have a git repository setup on a server: andy@ubuntu:/home/git/repositories$ ls gitosis-admin.git GoGoFlow.git andy@ubuntu:/home/git/repositories$
I just set up a gitosis server. Everything went well. I have been able

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.