Class IgnoreHostKeyVerification

  • All Implemented Interfaces:
    HostKeyVerification

    public class IgnoreHostKeyVerification
    extends java.lang.Object
    implements 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.

    Since:
    0.2.0
    Version:
    $Revision: 1.15 $
    Author:
    Lee David Painter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean verifyHost​(java.lang.String host, SshPublicKey pk)
      Simply returns true to all requests.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait