Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.transport.IgnoreHostKeyVerification
Method Summary | |
boolean |
|
public boolean verifyHost(String host, SshPublicKey pk) throws TransportProtocolException
Simply returnstrue
to all requests.
- Specified by:
- verifyHost in interface HostKeyVerification
- Parameters:
host
- the name of the hostpk
- the hosts public key
- Returns:
true
- Throws:
TransportProtocolException
- if an error occurs
- Since:
- 0.2.0