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 in Git & GitHub by akhtar
• 38,210 points
218 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 by MD
• 95,300 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
8,932 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 in Git & GitHub by MD
• 95,300 points
207 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,320 points
311 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
155 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
1,288 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 in Git & GitHub by MD
• 95,300 points
550 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,300 points
5,394 views