error in cloning bitbucket repository through ssh

3

I followed the steps from this site to be able to access Bitbucket via SSH on Ubuntu. But when I finished and tried to clone a repository the terminal printed this error:

  Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.   Permission denied (publickey).   fatal: Could not read from remote repository.

     

Please make sure you have the correct access rights   and the repository exists.

So I wonder why the error? And what to do to correct?

    
asked by anonymous 20.10.2016 / 22:47

1 answer

1

This is a generic error that says that the key that was used to connect was not recognized by the external server. Usually it means that you made a mistake when setting up your public key on Bitbucket.

Follow the last part of the step-by-step again and you should resolve.

    
25.10.2016 / 16:33