org.browsecode.helpers.controlcomputer.ssh
Class AlwaysAgreeToHosts

java.lang.Object
  extended by org.browsecode.helpers.controlcomputer.ssh.AlwaysAgreeToHosts
All Implemented Interfaces:
com.sshtools.j2ssh.transport.HostKeyVerification

public class AlwaysAgreeToHosts
extends java.lang.Object
implements com.sshtools.j2ssh.transport.HostKeyVerification


Constructor Summary
AlwaysAgreeToHosts()
           
 
Method Summary
 boolean verifyHost(java.lang.String host, com.sshtools.j2ssh.transport.publickey.SshPublicKey pk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysAgreeToHosts

public AlwaysAgreeToHosts()
Method Detail

verifyHost

public boolean verifyHost(java.lang.String host,
                          com.sshtools.j2ssh.transport.publickey.SshPublicKey pk)
                   throws com.sshtools.j2ssh.transport.TransportProtocolException
Specified by:
verifyHost in interface com.sshtools.j2ssh.transport.HostKeyVerification
Throws:
com.sshtools.j2ssh.transport.TransportProtocolException