Documentation
¶
Index ¶
- func SetClientConfigDefaults(cfg *ssh.ClientConfig)
- type Client
- func (c *Client) Dial(network, host, port string, cfg *ssh.ClientConfig) (*Client, error)
- func (c *Client) Download(ctx context.Context, remote, local string) error
- func (c *Client) Shell(stdin io.Reader, stdout, stderr io.Writer) error
- func (c *Client) Upload(ctx context.Context, local, remote string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetClientConfigDefaults ¶
func SetClientConfigDefaults(cfg *ssh.ClientConfig)
Types ¶
Click to show internal directories.
Click to hide internal directories.