Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.(5)

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/"Please make sure you have the correct access rights and the repository exists" - how can i circumvent the error?
Next
Answered
daxmann
  • 25
daxmann
Asked: June 11, 20222022-06-11T08:56:58+00:00 2022-06-11T08:56:58+00:00In: git

“Please make sure you have the correct access rights and the repository exists” – how can i circumvent the error?

  • 25

. Advertisement .

..3..

. Advertisement .

..4..

I encounter this error “please make sure you have the correct access rights and the repository exists.” when I’m going to use the following git clone command to clone the ck-git repository from GitHub:

git clone https://github.com/daxmann-tutorials/ck-git

When I run this command, I get this error message:

Permission denied (publickey,password).
fatal: Could not read from remote repository.

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

What’s causing it, and how can it be resolved in the “please make sure you have the correct access rights and the repository exists.”?

  • 1 1 Answer
  • 806 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    hdtutoria Expert
    2022-06-11T09:18:07+00:00Added an answer on June 11, 2022 at 9:18 am

    The cause: I think this error happens because you are not authenticated correctly. This can happen if you alter your Git credentials or if your repository’s location has changed, and a new one with no access rights has replaced the previous one.

    The solution: This problem could be solved in one of two ways:

    1. Check your Git URL.
    2. Ascertain that SSH public key and private key has been set up authentication correctly.

    The first thing you should do is double-check your Git remote URL to make sure it’s correct. if you want to clone a project from GitHub called daxmann-tutorials/ck-git. Let’s check the clone command we wrote earlier:

    git clone https://github.com/daxmann-tutorials/ck-git

    This command points to our repository correctly. You can get the access rights error if you try to clone the wrong repository. If this doesn’t work, check for SSH authentication problems. Make sure your SSH key is added to your SSH agent if you use SSH authentication to connect to a repository. This will make your SSH key available to Git, allowing it to utilize it to authenticate you with a repository. You can use the ssh-add command to verify that your SSH key has been added to your agent: Make sure your SSH key is added to your SSH agent if you use SSH authentication to connect to a repository. This will make your SSH key available to Git, allowing it to utilize it to authenticate you with a repository. You can use the ssh-add command to verify that your SSH key has been added to your agent:

    ssh-add

    Your identification files will be added to your SSH agent with this command. If the problem was that you hadn’t set up SSH authentication on your local machine, this will solve the error.

    👇️ Read more: How to Fix The Error “Updates Were Rejected Because The Tip of Your Current Branch is Behind”
    • 17
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.