Class FilterKexAlgorithms

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

public class FilterKexAlgorithms extends Object
Filter KEX 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.FilterKexAlgorithms.enabled to false. The list of algorithms to filter can be set by setting the system property com.trilead.ssh2.jenkins.FilterKexAlgorithms.algorithms (e.g. type01,type02,type03).
  • Constructor Details

    • FilterKexAlgorithms

      public FilterKexAlgorithms()
  • Method Details

    • filter

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