https://plugins.jenkins.io/git-client/#plugin-content-ssh-host-key-verification is incredibly useful in pipelines.
The ssh-agent-plugin doesn't take advantage of it however. It would be great if it could. That would reduce the need to inject ~/.ssh/known_hosts for Git operations within sshagent pipeline steps.
Originally reported by paybas, imported from: [ssh-agent] Use SSH Host Key verification strategies from git-client-plugin
- status: Open
- priority: Minor
- component(s): ssh-agent-plugin
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 20260604-211335
Raw content of original issue
https://plugins.jenkins.io/git-client/#plugin-content-ssh-host-key-verification is incredibly useful in pipelines.
The ssh-agent-plugin doesn't take advantage of it however. It would be great if it could. That would reduce the need to inject ~/.ssh/known_hosts for Git operations within sshagent pipeline steps.
https://plugins.jenkins.io/git-client/#plugin-content-ssh-host-key-verification is incredibly useful in pipelines.
The ssh-agent-plugin doesn't take advantage of it however. It would be great if it could. That would reduce the need to inject ~/.ssh/known_hosts for Git operations within sshagent pipeline steps.
Originally reported by paybas, imported from: [ssh-agent] Use SSH Host Key verification strategies from git-client-plugin
Raw content of original issue