• Register
0 votes
57 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

Please log in or register to answer this question.

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 38 views
38 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, 2020 alecxe 7.5k points
0 votes
1 answer 349 views
349 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 840 views
840 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.7K views
1.7K 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
1 vote
1 answer 64 views
64 views
Problem : I have recently started to learn the GIT. I was working on my GIT and suddenly I started facing below error. “Fatal: not a git repository (or any of the parent directories): .git” As I am very new to GIT so I am unable to understand above error ... the error from past couple of days but unable to fix it. Is there anyone who can spare some time and guide me to fix above error?
asked Mar 30, 2020 morrisBson 3.2k points
1 vote
1 answer 98 views
98 views
Problem : I am unable to clone my Git repository, and getting below error: /c/Projects $ git clone http://stage.abc.com:10088/pqr http://<url>/<repository> Cloning into '<repository>'... fatal: could not read Username for 'http://<url>': No such file or dir Please let me know any pointers to resolve my error.
asked Dec 30, 2019 alecxe 7.5k points
1 vote
2 answers 190 views
190 views
Problem : I need solution for bellow GIT error another git process seems to be running in this repository, e.g. an editor opened by 'git commit'.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 76 views
76 views
Problem : I am currently using the SourceTree and trying to clone it from the general github repository, but I am facing below error: &ldquo;Fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.&rdquo; How can I resolve it?
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 2.3K views
2.3K views
Problem : I have the below problem when I just try to pull code, using my GIT Bash on windows Even after adding/removing the origin I am still facing the same error as below. Fatal: could not read Username for 'https://github.com': No such file or directory
asked Dec 19, 2019 alecxe 7.5k points