package
4.3.3+incompatible
Repository: https://github.com/mimecast/dtail.git
Documentation: pkg.go.dev

# Functions

GeneratePrivatePublicKeyPair generates a SSH key pair (used by the integration tests).
GeneratePrivatePublicKeyPairIfNotExists generates a SSH key pair (used by the integration tests).
InitSSHAuthMethods initialises all known SSH auth methods on the client side.
NewCustomCallback returns a new wrapper.
NewKnownHostsCallback returns a new wrapper.
NewSimpleCallback returns a new wrapper.

# Structs

CustomCallback is a custom host key callback wrapper.
KnownHostsCallback is a wrapper around ssh.KnownHosts so that we can add all unknown hosts in a single batch to the known_hosts file.
SimpleCallback is a wrapper around ssh.KnownHosts so that we can add all unknown hosts in a single batch to the known_hosts file.

# Interfaces

HostKeyCallback is a wrapper around ssh.KnownHosts so that we can add all unknown hosts in a single batch to the known_hosts file.