Package org.glassfish.cluster.ssh.util
Class HostVerifier
- java.lang.Object
-
- org.glassfish.cluster.ssh.util.HostVerifier
-
- All Implemented Interfaces:
com.trilead.ssh2.ServerHostKeyVerifier
public class HostVerifier extends Object implements com.trilead.ssh2.ServerHostKeyVerifier
- Author:
- Rajiv Mordani
-
-
Constructor Summary
Constructors Constructor Description HostVerifier(com.trilead.ssh2.KnownHosts knownHosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verifyServerHostKey(String hostName, int port, String serverHostKeyAlgorithm, byte[] serverHostKey)
-
-
-
Method Detail
-
verifyServerHostKey
public boolean verifyServerHostKey(String hostName, int port, String serverHostKeyAlgorithm, byte[] serverHostKey) throws IOException
- Specified by:
verifyServerHostKey
in interfacecom.trilead.ssh2.ServerHostKeyVerifier
- Throws:
IOException
-
-