Versions in this module Expand all Collapse all v1 v1.0.0 Feb 20, 2018 Changes in this version + type Client struct + ConnectRetries int + Stderr io.Writer + Stdout io.Writer + func (s *Client) Cleanup() + func (s *Client) Connect() error + func (s *Client) Exec(cmd string) error + func (s *Client) Run(ctx context.Context, cmd Command) error + type Command struct + Command []string + Environment []string + Stdin string + type Config struct + Host string + IdentityFile string + Password string + Port string + User string + type ExitError struct + Inner error + func (e *ExitError) Error() string