title: Eclipse Git (EGit) unable to clone Git repository
body: <p>Basically, I can't find a workable URI for the EGit Clone Git Repository dialog.</p>
  
  <p><img src="https://i.stack.imgur.com/r7HSD.png" alt="One attempt"></p>
  
  <p>Using protocol git, just as from my command-line clone operation, I've tried various URIs with unsatisfactory results. Sometimes, I can't click the Next button:</p>
  
  <pre><code>git://af-blackpearl.site
  git:af-blackpearl.site:myproject
  </code></pre>
  
  <p>In other cases, I try (and I can click the Next button):</p>
  
  <pre><code>git:af-blackpearl.site/myproject[.git] (with or without extension)
  </code></pre>
  
  <p>but, I get:</p>
  
  <pre><code>Cannot list the available branches.
  Reason:
  git:af-blackpearl.site/rest-server:ProxyHTTP: java.io.IOException:
   proxy error: Service Unavailable
  </code></pre>
  
  <p>When I try:</p>
  
  <pre><code>git://af-blackpearl.site/myproject[.git] (with or without extension)
  git://af-blackpearl.site/
  </code></pre>
  
  <p>I always get something like:</p>
  
  <pre><code>Cannot list the available branches.
  Reason:
  git://af-blackpearl.site/myproject: Connection refused
  </code></pre>
  
  <p>Many thanks for any suggestion to follow up on.</p>
  
  <p><strong>Useful Background</strong></p>
  
  <ul>
  <li>Git administrated using <em>gitolite</em></li>
  <li>Git remote(s) on Linux host</li>
  <li>My "client" host, Linux, is running Eclipse Helios</li>
  <li>Been using Git via command line; works great</li>
  </ul>
  
  <p>This question is specifically about using the EGit (Eclipse plug-in) dialog. It is not about Git, using Git or even installing the plug-in--all of which do not seem troublesome. Simply, I've long been using Git from the command line and am just trying to use the Eclipse-Git integration now.</p>
  
  <p>In <em>/etc/hosts</em>, I have a line:</p>
  
  <pre><code>xxx.xxx.xxx.xxx   af-blackpearl.site
  </code></pre>
  
  <p>for our local Git remote repository. Though I administer Git via a <em>gitolite-admin</em> project, the (physical, filesystem) path to the project I'd like to clone on af-blackpearl.site is</p>
  
  <p><strong><em>/home/git/repositories/myproject.git</em></strong></p>
  
  <p>From the command line, I'm used to cloning it from origin thus with consistent success:</p>
  
  <pre><code>$ git clone git:af-blackpearl.site:myproject
  </code></pre>
  
  <p>Despite looking at the EGit (Google-hosted) documentation and much Googling, I'm having trouble adapting this to the EGit Clone Git Repository dialog (reached thus):</p>
  
  <pre><code>File -&gt; Import... -&gt; Git -&gt; Projects from Git -&gt; Clone
  </code></pre>
  
  <p>Connection to remote:</p>
  
  <pre><code>russ@russ-elite-book:~&gt; ssh git@af-blackpearl.site
  PTY allocation request failed on channel 0
  hello russ, the gitolite version here is v2.0.1-2-g836faf9
  the gitolite config gives you the following access:
       R   W     NavigationServlet
       R   W     gitolite-admin
       R   W     ivysample
       R   W     myproject
       R   W     seam-catch
  Connection to af-blackpearl.site closed.
  </code></pre>