Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45001

KnownHostsFileKeyVerificationStrategy is not configurable

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None
    • ssh-slaves-1.31.1

      This strategy only look in one place:

      private static final File KNOWN_HOSTS_FILE = new File(new File(new File(System.getProperty("user.home")), ".ssh"), "known_hosts");

      So it miss either custom path or centralized management. For example, in our datacenter we use puppet to manage /etc/ssh/ssh_known_hosts, so it's always right. I can't tell jenkins to use it.

            ifernandezcalvo Ivan Fernandez Calvo
            bacchella Fabrice Bacchella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: