title: Setting up gitolite: FATAL: R any gitolite-admin gitolite denied by fallthru
body: <p>I'ved tried what I've found here:</p>
  
  <p><a href="https://stackoverflow.com/questions/10843781/gitolite-adding-user-not-working-and-denied-by-fallthru-when-cloning-as-root">This question</a></p>
  
  <p><a href="https://stackoverflow.com/questions/19976239/cannot-clone-repository-fatal-r-any-gitolite-admin-gitolite-denied-by-fallthru">And this question</a></p>
  
  <p>I've generated my ssh keys with:</p>
  
  <pre><code>ssh-keygen -t rsa -f gitolite
  </code></pre>
  
  <p>I then copy them to gitolite server</p>
  
  <pre><code>scp gitolite.pub git@my-server.com:gitolite.pub
  </code></pre>
  
  <p>After that I setup gitolite on my server with no apparent errors</p>
  
  <pre><code>gitolite setup -pk gitolite.pub
  </code></pre>
  
  <p>The only key in my .gitolite/keydir/ is gitolite.pub. The only one listed in .ssh/authorized_keys is my gitolite.pub. </p>
  
  <p>On my client side I setup a ssh config file as such</p>
  
  <pre><code>host gitolite
      user git
      hostname my-server.com
      identityfile ~/.ssh/gitolite
  </code></pre>
  
  <p>I then run </p>
  
  <pre><code>git clone gitolite:gitolite-admin.git
  </code></pre>
  
  <p>which gives me:</p>
  
  <pre><code>Cloning into 'gitolite-admin'...
  FATAL: R any gitolite-admin gitolite DENIED by fallthru
  (or you mis-spelled the reponame)
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access right and the repository exists.
  </code></pre>
  
  <p>What should I try next to fix this issue?</p>
  
  <p>EDIT:</p>
  
  <p>IF it helps at all I can clone testing.git just fine this way.</p>