title: Trouble cloning a git repository from an EC2 instance
body: <p>I'm attempting to put a bare git repository on a ubuntu server running on Amazon EC2.  The difficulty I'm having is getting git to clone the repository from my local pc.</p>
  
  <p>When I try: </p>
  
  <pre><code>git clone git@ec2-blah.compute-1.amazonaws.com:/opt/git/project.git
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Cloning into project...
  Unable to open connection:
  Host does not existfatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>Yet I don't have any difficulty ssh'ing into the same server.  For example the following works fine:</p>
  
  <pre><code>ssh git@ec2-blah.compute-1.amazonaws.com
  </code></pre>
  
  <p>My thinking was that if this is working, then I have my keys set up appropriately on the client, and on the server.  Therefore the git clone command should work as well.  </p>
  
  <p>But no.</p>
  
  <p>I've researched and tried a number of variations, but I just have hunch I'm missing something brain dead simple.</p>