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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can't push to a remote repository on my github

I am trying to push to a remote repository and it isn't working.

Here is the code I wrote trying to push:

git config --global user.name "I put my registered github username here"

git config --global user.email "I put my email here the same as that on my github"

git push -u origin master

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

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

The repository exists. Help out guys.

 

 

1 answer

OK, GitHub is a little off topic, but here we go.

Make sure that you have configured an ssh key at https://github.com/settings/keys 

If you haven't, Atlassian have written an article on how to generate one here:

https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ 

If you have both of those things covered, then make sure that you have write permission on the repository.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Cloud Migration

Curious what we've got planned for 2021?!

Happy 2021, Atlassian Community! 2020 was a year with lots of change. It changed how we work, live, and even interact with our neighbors. As we wrapped up 2020 in December, we got to thinkin...

74 views 1 5
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