Package com.trilead.ssh2.jenkins
Class FilterMacAlgorithms
java.lang.Object
com.trilead.ssh2.jenkins.FilterMacAlgorithms
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
FilterMacAlgorithms
public FilterMacAlgorithms()
-
-
Method Details
-
filter
Filter algorithms.- Parameters:
algorithms- The algorithms to filter.- Returns:
- The filtered algorithms.
-