Uses of Class
com.sshtools.j2ssh.transport.InvalidHostFileException
Packages that use InvalidHostFileException
-
Uses of InvalidHostFileException in com.sshtools.common.hosts
Methods in com.sshtools.common.hosts that throw InvalidHostFileExceptionConstructors in com.sshtools.common.hosts that throw InvalidHostFileExceptionModifierConstructorDescriptionCreates a new AbstractHostKeyVerification object.AbstractHostKeyVerification
(String hostFileName) Creates a new AbstractHostKeyVerification object.Creates a new ConsoleHostKeyVerification object.ConsoleHostKeyVerification
(String hostFile) Creates a new ConsoleHostKeyVerification object.DialogHostKeyVerification
(Component parent) Creates a new DialogHostKeyVerification object.DialogHostKeyVerification
(Component parent, String hostFileName) Creates a new DialogHostKeyVerification object.Creates a new DialogKnownHostsKeyVerification object.DialogKnownHostsKeyVerification
(Component parent, String hostFileName) Creates a new DialogKnownHostsKeyVerification object. -
Uses of InvalidHostFileException in com.sshtools.j2ssh.transport
Methods in com.sshtools.j2ssh.transport that throw InvalidHostFileExceptionModifier and TypeMethodDescriptionvoid
AbstractKnownHostsKeyVerification.allowHost
(String host, SshPublicKey pk, boolean always) Allows a host key, optionally recording the key to the known_hosts file.void
AbstractKnownHostsKeyVerification.saveHostFile()
Save's the host key file to be saved.Constructors in com.sshtools.j2ssh.transport that throw InvalidHostFileExceptionModifierConstructorDescriptionAbstractKnownHostsKeyVerification
(String knownhosts) Constructs a host key verification instance reading the specified known_hosts file.Constructs the verification instance with the default known_hosts file from $HOME/.ssh/known_hosts.ConsoleKnownHostsKeyVerification
(String knownhosts) Constructs the verification instance with the specified known_hosts file.