dokku clone failing because of ssh fingerprint
See original GitHub issueWhen I tried to use dokku clone, the task hung indefinitely when it was run via ansible. There was no error or debugging output available when ansible was run with -vvvv
so I attempted to run the same command directly via ssh.
I ran into this error:
The authenticity of host 'github.com (140.82.114.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
It looks like there already exists a check to ensure github.com is added to known_hosts
, but if a user has FingerprintHash md5
the known_hosts
value is invalid.
I’m guessing what we need to do here is somehow check the FingerprintHash
setting and change what line we are checking for in known_hosts
, but my ansible knowledge isn’t advanced enough to understand how to make this change. Any ideas? Happy to contribute if you push me in the right direction!
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Issue #8 · dokku/github-action - Host key verification failed.
Hey, I keep getting the "Host key verification failed." error. What I've done so far: On Github, configured repo secret SSH_HOST_KEY (/root/.ssh/id_rsa.pub) ...
Read more >Git error: "Host Key Verification Failed" when connecting to ...
As I answered previously in Cloning git repo causes error - Host key verification ... This is happening because github is not currently...
Read more >How to Fix SSH “Permission Denied” with Git Clone - Medium
First of all, ensure that your SSH key has been generated and the file containing the corresponding public key id_rsa.pub has been added...
Read more >Non interactive git clone (ssh fingerprint prompt) - Server Fault
It won't ask you for a fingerprint, because ssh is not involved, https is used instead. ... If this is ever the case,...
Read more >Plugin triggers - Dokku Documentation
#!/usr/bin/env bash # Send an email when a container failed to retire set -eo pipefail; ... Note that the NAME value is set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Something like this would work: https://gist.github.com/maxim/871e611d4bc02c633c67
Here are the fingerprints as documented by github: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints
would this be for the
dokku
user?