Interview Prep/CI/CD/Jenkins Credentials, Plugins and Controller Issues

SSH agent fails: `Host key verification failed`.

BeginnerTroubleshootingJenkins Credentials, Plugins and Controller Issues
Answer

Likely causes → Host key changed (rebuilt VM) or the verification strategy rejects unknown keys.

Diagnose → Check the "Host Key Verification Strategy" in the node setup; ssh-keyscan agent.

Fix → Use "Manually trusted key verification" and update the key, or "Known hosts file".

Prevent → Use inbound/websocket or Kubernetes agents instead of SSH to pets.

All CI/CD questions

More on Jenkins Credentials, Plugins and Controller Issues