hudson.plugins.ec2.ssh
Class HostKeyVerifierImpl
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostKeyVerifierImpl
public HostKeyVerifierImpl(String console)
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.