hudson.plugins.ec2.ssh
Class HostKeyVerifierImpl

java.lang.Object
  extended by hudson.plugins.ec2.ssh.HostKeyVerifierImpl
All Implemented Interfaces:
com.trilead.ssh2.ServerHostKeyVerifier

public class HostKeyVerifierImpl
extends Object
implements com.trilead.ssh2.ServerHostKeyVerifier

ServerHostKeyVerifier that makes sure that the host key fingerprint showed up in ConsoleOutput#getOutput().

Author:
Kohsuke Kawaguchi

Constructor Summary
HostKeyVerifierImpl(String console)
           
 
Method Summary
 boolean verifyServerHostKey(String hostname, int port, String serverHostKeyAlgorithm, byte[] serverHostKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2004-2012 Hudson. All Rights Reserved.