The original question:
Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists
Before the first checkout in Komodo, i should have used the git bash (clone a repo), because git bash makes a file (
~/.ssh/known_hosts) contains the accepted host.
Then i can checkout.
So if someone would like to use Komodo IDE with private GIT repo and SSH Key:
- Download GIT (http://git-scm.com/download/win)
- Install GIT (with GIT Bash / you can check it on install)
- Start Menu -> Run -> cmd
In the command line type:
git config --global user.name "John Doe"
git config --global user.email "email@example.com"
- Start menu, type and run Git Bash
- In the Git Bash Screen type:
ssh-keygen –t rsa –C "firstname.lastname@example.org" //the e-mail address is your git providers login e-mail address/username
clip < ~/.ssh/id_rsa.pub //This will copy your public key to your clipboard
Your have to add your public key to your Git provider's website (paste or upload it)
In the Git Bash Screen clone a repo. That will create the known_hosts file.
In Komodo, go to
Preferences -> Source Code Control-> Git
Add the git.exe path
I would like to use Komodo IDE with bitbucket private GIT repository.
I generated the key with puttygen, and i can see the key in the pageant (pageant is running).
I succesfully connect to my repository with putty.
The git.exe path is ok in the Komodo preferences.
When i try to checkout, i get that error:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I checked the keys in the registry, i found my fingerprint here:
Please help me resolve this problem.