Reputation: 95
I have a problem with tortoiseGit. When I use clone, pull or push in tortoise it always reports "acces denied". But if I use the console it works without problems.
I tried reinstalling git/tortoiseGit but it doesn't help.
this is from tortoiseGit:
git.exe clone --progress -v "ssh://[email protected]:7722/var/lib/git/ NavisIZS2014" "D:\work\workspace\IZS2014\NavisIZS2014"
Cloning into 'D:\work\workspace\IZS2014\NavisIZS2014'...
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) (2016 ms @ 25. 11. 2013 9:17:24)
and when I use console:
D:\work\workspace\IZS2014>git.exe clone --progress -v "ssh://[email protected]:7722/var/lib/git/NavisIZS2014" "D:\work\workspace\IZS2014"
Cloning into 'D:\work\workspace\IZS2014'...
warning: You appear to have cloned an empty repository.
Upvotes: 2
Views: 16746
Reputation: 113
Upvotes: 2
Reputation: 108101
Since you are authenticating via ssh, it's likely that Tortoise Git cannot find your ssh keys.
You can specify the key path in Toirtoise Git by navigating to
Settings > Git > Remote
and setting the Putty Key field, as explained here.
Upvotes: 4