I'm trying to use git on windows to clone a remote repository. I can clone it on my mac fine but on windows I get a problem.
WHen using git bash to clone, I get a message saying the server's host key is not cached in the registry. It asks me to preess y or n to trust the host.
THe problem is that if I press y or n nothing happens. It just hangs there. Should I use OpenSSH instead of PuTTY?
Thanks
If you see this error when cloning a repository, it means that the repository does not exist or you do not have permission to access it.
Make sure that the path in the git clone call is correct. If you have an authorization error, have an administrator check the ACLs in Administration > Repositories > <repoName> > Access. Have an administrator check the bare repo in the GitCentric storage directory.
The problem is that MSysGit starts PLink in the background, i.e. the terminal is not actually connected to the input of PLink. That means that you simply can't type anything into PLink.
You simply have to connect to the server once using PLink or PuTTY, answer Yes and from then on, you won't be asked again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With