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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:37:04+00:00 2026-06-15T01:37:04+00:00

I am having trouble running a simple command (which is part of a larger

  • 0

I am having trouble running a simple command (which is part of a larger deploy process problem) on one sever from another.

user gitolite:

I can ssh using that user onto the box as it returns

X@repo2:~$ ssh gitolite@repo1
PTY allocation request failed on channel 0
hello repo2, this is gitolite v2.1-19-g36dfb85 running on git 1.7.0.4
the gitolite config gives you the following access:
     R   W      proto_projectname_rails
    @R_ @W_     testing
Connection to repo1.x closed.

However when I try run git ls-remote ssh://gitolite@repo1.x:2011/proto_projectname_rails it prompts for a password.

my gitolite.conf has the lines

repo    proto_projectname_rails
    RW+     =   MBP
    RW+     =   repo2

and the public key is in my keydir with the same name e.g. repo2.pub.
I also ran

gl-setup repo2.pub 

which updated the authorised_keys to include repo2 in there.

I am all out of ideas as to what else I need to do. If i run the same command from my local machine. i.e from MBP it completes successfully.

Any ideas on this would be more than welcome.

Thank you.

  • 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-15T01:37:05+00:00Added an answer on June 15, 2026 at 1:37 am

    If ssh gitolite@repo1 works, then that is the ssh address you must use for gitolite.
    Gitolite itself will call git, and the ssh settings on the server might use internally gitolite@repo1.x:2011 for that git call.

    But for the end-user, client of gitolite, git ls-remote ssh://gitolite@repo1/proto_projectname_rails will work.

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

Sidebar

Related Questions

I'm having trouble running a simple bash script from Java. Specifically: ... try{ ProcessBuilder
I am having trouble importing python packages only when running python from cmdline/console. However,
I am having trouble running a simple sql query in Microsoft SQL Server 2005
I'm running pywin32 build 216.1 and am having trouble using the simple print function
I've been having nothing but trouble with python2.6 and Snow Leopard. One major problem
Hey, this is probably a simple question, but I am having trouble running my
I am having trouble running this simple statement in the IDLE prompt. if True:
I'm having trouble running gprof on OS X. The file test.c is: #include <stdio.h>
I am having trouble running a Java program with Windows Powershell 2.0. Any help
I am having trouble running Purify on Suse Linux. Here are the version details:

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.