My laptop blew up, so I am trying to setup a new one without success. When I try and use TortoiseGit to clone a GitHub repo, I get:
Host does not exist fatal: Could not read from remote repository.
git.exe clone --progress -v "git@github.com:me/mystuff.git" "C:\git\stuff"
Cloning into 'C:\git\stuff'...
Unable to open connection:
Host does not exist fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is a common problem, but I could only find solutions for Unix, not Windows.
The way I set it up is as follows:
- downloaded and installed tortoise git, selecting the default option to use putty (plink?) instead of openssh (which I don't have).
- downloaded and installed git
- putty and puttygen were already installed on the machine.
- used puttygen to create a key. saved it as something.ppk, and cut and pasted the public it into a new key here: https://github.com/settings/ssh
- right clicked on a dir and tried to cone a repo using URL like: "git@github.com:me/mystfuff.git" and a type of "WEB". The URL I copied from GitHub's "ssh clone URL".
Any ideas?
I don't want to use the proprietary GitHub client, as I want it to be usable with TortoiseGit, Git Bash and even Eclipse (although I have never got Eclipse to work with GitHub).