Class SSHClientHelper

java.lang.Object
hudson.plugins.ec2.util.SSHClientHelper

public final class SSHClientHelper extends Object
  • Method Details

    • getInstance

      public static SSHClientHelper getInstance()
    • getPreferredAlgorithmNames

      public List<String> getPreferredAlgorithmNames(EC2Computer computer)
      Return an ordered list of preferred host key algorithm names based on the stored HostKey for this EC2Computer. Used by SSHClientManager to reorder KEX negotiation.
      Parameters:
      computer - return preferred algorithms for this computer.
      Returns:
      an ordered list of algorithm name strings, or empty list if no preference.