Versions in this module Expand all Collapse all v0 v0.1.0 Aug 20, 2026 Changes in this version + func MuxEnabled(opt Options) bool + func RemoteHome(ctx context.Context, opt Options, host string) (string, error) + func ShellQuote(s string) string + func WrapWorkdir(workdir, command string) string + type ExecResult struct + ConnectErr bool + ExitCode int + Stderr string + Stdout string + TimedOut bool + Truncated bool + func SCPGet(ctx context.Context, opt Options, host, remotePath, localPath string) (*ExecResult, error) + func SCPPut(ctx context.Context, opt Options, host, localPath, remotePath string) (*ExecResult, error) + func SSHExec(ctx context.Context, opt Options, host, command string) (*ExecResult, error) + type Options struct + DisableMux bool + MaxStderr int + MaxStdout int + SSHConfig string + Timeout time.Duration