RF_956
RF_956

Reputation: 341

Why can't I clone a repository from bitbucket?

I'm new to git.

I don't know why I can't clone a repository anymore when I used a new laptop. In my previous laptop, I was able to clone it. Whenever I try to clone, it gives me the this error:

Permission denied (publickey). fatal: Could not read from remote repository.

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

I have set my ssh-publick key in bitbucket. Still not working. Thank you for your help.

Upvotes: 1

Views: 3087

Answers (2)

JBallin
JBallin

Reputation: 9807

Just clone it using HTTPS. Toggle the link here:

enter image description here

Upvotes: 0

To understand what is happening with your SSH connection, execute the "git clone" command the following way:

GIT_SSH_COMMAND="ssh -vvv" git clone ssh://REPO-URL

Upvotes: 2

Related Questions