Documentation ¶ Index ¶ func ConnectToHost(host *Host, timeout time.Duration) (*ssh.Client, error) func RunCommand(h *Host, command string, timeout time.Duration) ([]byte, error) func RunCommandWithOpenSSH(h *Host, command string) ([]byte, error) type Host func (h *Host) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConnectToHost ¶ func ConnectToHost(host *Host, timeout time.Duration) (*ssh.Client, error) func RunCommand ¶ func RunCommand(h *Host, command string, timeout time.Duration) ([]byte, error) func RunCommandWithOpenSSH ¶ func RunCommandWithOpenSSH(h *Host, command string) ([]byte, error) Types ¶ type Host ¶ type Host struct { User string Port int Hostname string } func (*Host) String ¶ func (h *Host) String() string Source Files ¶ View all Source files ssh.go Click to show internal directories. Click to hide internal directories.