Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error when cloning with permission denied

Tolibin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 28, 2022

i get the error when i clone my repository in bitbucket 

git@bitbucket.org's password:
Permission denied, please try again.
git@bitbucket.org's password:
Permission denied, please try again.
git@bitbucket.org's password:
git@bitbucket.org: Permission denied (publickey,password).
fatal: Could not read from remote repository.

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

i follow this tutorial https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/  and https://support.atlassian.com/bitbucket-cloud/docs/troubleshoot-ssh-issues/ but nothing work 

how i can clone my repository with no password ?

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2022

Hello @Tolibin ,

Welcome to Atlassian Community.

When using ssh to clone the repository you usually wouldn't be asked to provide a password, unless you have configured a passphrase when you created your ssh key pair.

In order to better understand the issue I would like to check the following :

  • What is the operating system you are using (Linux, MacOS, Windows) ?
  • Are you cloning directly from the terminal or using another application, such as Sourcetree or Git Bash?
  • Could you please clone your repository with the command below and share us the full output ?
    GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:<workspace>/<repository>.git

    This will add verbose logging to the git command and help us on the investigation.

Hope to hear from you soon!

Thank you, @Tolibin .

Kind regards,

Patrik S.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events