Host Key verification failed

Latest response

Hello, I'm attempting to deploy a web server through the apache http server and am getting an error saying
error: Host key verification failed.
fatal: Could not read from remote repository.
I assume this is referencing the private github repo that has the html code (can not make this public), however, I am not sure how to resolve this. Any assistance would be appreciated.


Hi Maria Dmitrievskaia,

However, if it is someone's private github, you may not be able to change it to http and make it work.

I did notice [this like issue someone filed a issue (not Red Hat bugzilla) and a work around, maybe at and look for the response by sivel commented on Oct 27, 2021.

Also see this link, similar author, I think.

It seems maybe you either have a conflicting key in your known_hosts file, or you need to somehow add a relevant entry in your known_hosts file... maybe.

Are you able to post more of the error output??

Kind Regards,

Thank you, RJ, for your reply. I kind of figured out what the issue was (rather I got what I needed to to start working). The code for my webpage was on git, and instead of creating from the apache http server, I imported directly from git and selected the hhtpd builder image and that seemed to work. Appreciate your help!

Glad you got this resolved Maria!