title: Cloning Git repository locally
body: <p>I have just create a git repository on my iMac under the user git account and am now want to clone it from my main user account on the same computer. I have created my SSH key and added it to the .ssh/authorized_keys file. However when I log back in with my main account I get the following error message:</p>
  
  <blockquote>
    <p>Permission denied (publickey)
    fatal: The remote end hung up unexpectedly</p>
  </blockquote>
  
  <p>Now to me, and while searching on the web it seems like my public key is incorrect. I have created it twice and still get the same issue.</p>