package
0.6.14
Repository: https://github.com/meteor/terraform.git
Documentation: pkg.go.dev

# Functions

BastionConnectFunc is a convenience method for returning a function that connects to a host over a bastion connection.
ConnectFunc is a convenience method for returning a function that just uses net.Dial to communicate with the remote end that is suitable for use with the SSH communicator configuration.
New creates a new communicator implementation over SSH.
An implementation of ssh.KeyboardInteractiveChallenge that simply sends back the password for all questions.

# Constants

DefaultPort is used if there is no port given.
DefaultScriptPath is used as the path to copy the file to for remote execution if not provided otherwise.
DefaultShebang is added at the top of a SSH script file.
DefaultTimeout is used if there is no timeout given.
DefaultUser is used if there is no user given.

# Structs

Communicator represents the SSH communicator.