Class HostKeyVerifierImpl

  • All Implemented Interfaces:
    com.trilead.ssh2.ServerHostKeyVerifier

    public class HostKeyVerifierImpl
    extends Object
    implements com.trilead.ssh2.ServerHostKeyVerifier
    • Constructor Detail

      • HostKeyVerifierImpl

        public HostKeyVerifierImpl​(String console)
    • Method Detail

      • verifyServerHostKey

        public boolean verifyServerHostKey​(String hostname,
                                           int port,
                                           String serverHostKeyAlgorithm,
                                           byte[] serverHostKey)
                                    throws Exception
        Specified by:
        verifyServerHostKey in interface com.trilead.ssh2.ServerHostKeyVerifier
        Throws:
        Exception