Skip to content

[JENKINS-69264] [ssh-agent] Use SSH Host Key verification strategies from git-client-plugin #265

Description

@jenkins-infra-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions