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,230 points
659 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,440 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
26,380 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,440 points
14,342 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 763 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
473 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
3,520 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,440 points
2,147 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,440 points
20,260 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