Class FilterMacAlgorithms

java.lang.Object
com.trilead.ssh2.jenkins.FilterMacAlgorithms

public class FilterMacAlgorithms extends Object
Filter host key algorithms. The reason for this filter is that some algorithms have security issues. The filter can be disabled by setting the system property com.trilead.ssh2.jenkins.FilterHostKeyAlgorithms.enabled to false. The list of algorithms to filter can be set by setting the system property com.trilead.ssh2.jenkins.FilterHostKeyAlgorithms.algorithms (e.g. type01,type02,type03).
  • Constructor Details

    • FilterMacAlgorithms

      public FilterMacAlgorithms()
  • Method Details

    • filter

      public static String[] filter(String[] algorithms)
      Filter algorithms.
      Parameters:
      algorithms - The algorithms to filter.
      Returns:
      The filtered algorithms.