• Register
0 votes
41 views

Problem :

I am trying to use the TortoiseGit on my Windows. But when I want to Clone it from my context menu of the standard Windows Explorer then I face below error:

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

In more detail the complete snapshot of my terminal is as below:


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

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

git did not exit cleanly (exit code 128) (21450 ms @ 17.12.2019 10:36:58)

What should I do to make my git work correctly ?

6 5 3
7,540 points

1 Answer

0 votes

Solution :

You are probably trying to clone your repository over the ssh: git@arobotdev..., and the SSH keys must not be properly set on the server. There may be multiple reasons for this:

1.      Your public key must not be saved in your authorized_keys file of the user git

2.      If 1 is not true then  the private key is not saved properly in .ssh/ folder of your HOMEDIR.

3.      The Permissions are not properly set

If all the above 3 are untrue then please try: git@arobotdev:AlfaRobot.git Assuming your AlfaRobot.git is in your HOMEDIR of git user and not inside the folder called git which resides in the HOMEDIR of user git.

9 7 4
38,600 points

Related questions

0 votes
1 answer 32 views
32 views
Problem : Currently I am trying to use TortoiseGit on Windows. But when I want to Clone from a context menu of my standard Windows Explorer, I face below error: Please make sure you have the correct access rights and the repository exists How can I make my git work properly?
asked Jan 10 alecxe 7.5k points
0 votes
1 answer 245 views
245 views
Problem : When I try to run previously working git commands I am facing following error: unable to locate xcodebuild, please make sure the path to the xcode folder is set correctly!
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 687 views
687 views
Problem : This is the very first time that I am using Jenkins and I have gone through the several articles but unable to find any satisfactory answers. We have the .Net project, and we are using our private GitHub repository. ... hooks on GitHubRepositoryName[host=github.com,username=MyCompanyName,repository=reponame] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:342)
asked Dec 27, 2019 alecxe 7.5k points
0 votes
1 answer 1.1K views
1.1K views
Problem : I am new to GIT. I have recently created a new repository with github desktop but I couldn't add local repository for some reason in my react app. When I try to commit I get the error message as follows: A lock file already exists in the repository ... running. I have no idea what causes this issue. GitHub Desktop version : 1.3.4 Operating system version : Windows 7Home Premium 64-Bit
asked Nov 26, 2019 alecxe 7.5k points