Interview Prep/Jenkins/SCM, multibranch & webhooks

Checkout fails with `No ED25519 host key is known for github.com and you have requested strict checking.`

IntermediateTroubleshootingSCM, multibranch & webhooks
Answer

Likely causes → SSH clone and the Git Host Key Verification setting is "Known hosts file" but GitHub's key is not in known_hosts of the agent/controller.

Diagnose → Manage Jenkins > Security > Git Host Key Verification Configuration.

Fix → Use "Manually provided keys" with GitHub's published keys (from https://api.github.com/meta), or switch to HTTPS with a GitHub App.

Prevent → Set the strategy and keys in JCasC (security.gitHostKeyVerificationConfiguration).

All Jenkins questions Roadmap: Jenkins

More on SCM, multibranch & webhooks