Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Access denied error when we are trying to push our code to bit bucket for first time

Naveen Kumar Nethi
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!
January 30, 2020

git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.

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

2 answers

0 votes
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2020

@Naveen Kumar Nethi You probably need to have the first commit for the repo in order to push it

So one easy way to do is to create a temporary README.md with random content via the Bitbucket Cloud UI

After this, i believe you will be able to push your changes

Of course you will need to register your SSH public key with bitbucket

0 votes
ogarcia
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2020

Hi Naveen. How are you?

The permission denied (publickey) error occurs typically when the SSH key hasn't been added to Bitbucket. We have an article that has more details on how to check and solve it. Would you please go over the knowledge base below and let us know the outcome?

https://confluence.atlassian.com/bbkb/permission-denied-publickey-302811860.html

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events