-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Host key verification failed." when git cloning public GitHub repos #148
Comments
This would be because using the |
The error in this case is about github.com host key, not private key. |
@aabes This Solved my problem, thanks! |
@asim42, I would highly recommend against
|
Using [email protected]:ucb-bar/dsptools.git fails with GitHub Workflows with a: ``` Cloning into '/home/runner/work/chisel-release/chisel-release/dsptools'... Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:ucb-bar/dsptools.git' into submodule path '/home/runner/work/chisel-release/chisel-release/dsptools' failed Failed to clone 'dsptools'. Retry scheduled ``` According to docker-library/golang#148, this is due to the fact that neither the private key, nor the github host key are available inside the container. Switch the URL to `https:`.
When I try to
RUN git clone [email protected]:edenhill/librdkafka.git
from the golang:1.7 base, Docker reports:Could
golang:1.7
have old or missing entries for GitHub's public key?The text was updated successfully, but these errors were encountered: