Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + const DefaultPort + const DefaultShebang + const DefaultTimeout + const DefaultUnixScriptPath + const DefaultUser + const DefaultWindowsScriptPath + const TargetPlatformUnix + const TargetPlatformWindows + func BastionConnectFunc(bProto string, bAddr string, bConf *ssh.ClientConfig, proto string, ...) func() (net.Conn, error) + func ConnectFunc(network, addr string, p *proxyInfo) func() (net.Conn, error) + func PasswordKeyboardInteractive(password string) ssh.KeyboardInteractiveChallenge + func RegisterDialerType() + type Communicator struct + func New(v cty.Value) (*Communicator, error) + func (c *Communicator) Connect(o provisioners.UIOutput) (err error) + func (c *Communicator) Disconnect() error + func (c *Communicator) ScriptPath() string + func (c *Communicator) Start(cmd *remote.Cmd) error + func (c *Communicator) Timeout() time.Duration + func (c *Communicator) Upload(path string, input io.Reader) error + func (c *Communicator) UploadDir(dst string, src string) error + func (c *Communicator) UploadScript(path string, input io.Reader) error