GitHub Error Message - Permission denied publickey

0 votes

I am new to Git. I am trying to push the files from Git to Github. But it is showing me the below error.

> git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Jan 4, 2021 in Git & GitHub by akhtar
• 38,260 points
813 views

1 answer to this question.

0 votes

Hi@akhtar,

I think GitHub isn't able to authenticate you. So, either you aren't set up with an SSH key, because you haven't set it up on your machine, or your key isn't associated with your GitHub account. Check this part and try once. It will work.

answered Jan 4, 2021 by MD
• 95,460 points

Related Questions In Git & GitHub

+1 vote
0 answers

Give full access permission to another user in GitHub

How do I give full access permission ...READ MORE

May 15, 2019 in Git & GitHub by Umer
27,265 views
0 votes
1 answer

Link to the issue number on GitHub within a commit message.

Hi@akhtar, You just need to include #xxx in your commit message ...READ MORE

answered Jan 4, 2021 in Git & GitHub by MD
• 95,460 points
14,932 views
–1 vote
1 answer

Having problem in Github and remote Git repo with production and development code

I think you could start with this. The ...READ MORE

answered Apr 10, 2018 in Git & GitHub by shubham
• 7,340 points

edited Dec 15, 2023 by Khan Sarfaraz 1,121 views
0 votes
1 answer

Configure Git and GitHub

In version control with Git, we deal ...READ MORE

answered Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
803 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,040 views
+2 votes
1 answer
0 votes
1 answer

How to solve Permission denied (publickey) error when using Git?

Hi@akhtar, If the user has not generated an ...READ MORE

answered Jan 4, 2021 in Git & GitHub by MD
• 95,460 points
2,419 views
0 votes
1 answer

fatal: could not create work tree dir 'C:/Program Files/Git/data': Permission denied

Hi@akhtar, You may get this error if your ...READ MORE

answered Jun 14, 2020 in Git & GitHub by MD
• 95,460 points
21,168 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP