Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
func RunCommand(cfg ConnConfig, cmd string) (string, error)
RunCommand dials the SSH host, executes cmd, and returns stdout. A new connection is created for each call.
Types ¶
type ConnConfig ¶
ConnConfig holds SSH connection parameters.
Click to show internal directories.
Click to hide internal directories.