Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

My repository is public but still asking for credentials

I have a repository setup as Public following this instruction project --> repository setting-->Access Level (unchecked up the option "this is a private repository" --> save . I did the change 2 days ago and still is asking for credentials when I try to clone the project in a different laptop . 

1 answer

0 votes
Caroline R Atlassian Team Dec 10, 2021

Hi, @jcrphx

Thank you for reaching out to Atlassian Community!

I tested cloning a public repository and it didn’t ask me for a password, so in order to further investigate what's happening on your side, could you please share the following information with us?

  • The repository URL, so we can confirm if there is something wrong with this repo;

  • A screenshot that shows the clone command you are executing and the output;

  • Are you cloning this repo from the command line/terminal or a Git client (if so, which one)?

Looking forward to hearing from you.

Kind regards,
Caroline

Hello Caroline,

This is my repository URL

https://bibhcket.org/jcrphx/simpletimeservice/src/master

As an anonymous user I found, that if I try to clone the repository via SSH I am getting the fatal message below, 

git clone git@bitbucket.org:jcrphx/simpletimeservice.git
cloning into 'SimpletimeService'
git@bitbucket.org: Permission denied (publickey).
fatal: could not read from remote repository.

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

 

 but If I try via https ..it works fine as expected  

git clone https://jcrphx@bitbucket.org/jcrphx/simpletimeservice.git

 

If this is the right behavior expected please then disregard and thank you very much for your support.

 

Juan-Carlos  

Caroline R Atlassian Team Dec 14, 2021

Hi, Juan Carlos! 

Thanks for getting back to us! Indeed, this is expected. I'm glad to know this is working! :)  

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,488 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you