title: Bitbucket/Github: permission denied public key
body: <p>when I am trying to clone a rails app repo I have got permission to, I am getting this issue.</p>
  
  <pre><code>Permission denied (publickey).
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>Even after adding public key by generating one, I am unable to solve this.</p>
  
  <p>Although I am able to clone using he <code>https</code> method but after making changes, the same error comes while I try to push the code.</p>
  
  <p>Please suggest an answer for this.</p>