Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.transport » [javadoc | source]
com.sshtools.j2ssh.transport
public class: IgnoreHostKeyVerification [javadoc | source]
java.lang.Object
   com.sshtools.j2ssh.transport.IgnoreHostKeyVerification

All Implemented Interfaces:
    HostKeyVerification

A simple host key verification implementation that automatically approves the servers host key. It should be noted that using this implementation will render the protocol insecure against active attacks.

Method from com.sshtools.j2ssh.transport.IgnoreHostKeyVerification Summary:
verifyHost
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.transport.IgnoreHostKeyVerification Detail:
 public boolean verifyHost(String host,
    SshPublicKey pk) throws TransportProtocolException 

    Simply returns true to all requests.