Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a client instance
func NewClientWithUserAndAuth ¶
NewClientWithUserAndAuth creates a new client with an SSHConfig containing the provided user and password
type Config ¶
type Config struct { Fingerprint string Auth string KeepAlive time.Duration MaxRetryCount int MaxRetryInterval time.Duration Server string Proxy string Remotes []string Headers http.Header TLS TLSConfig DialContext func(ctx context.Context, network, addr string) (net.Conn, error) Verbose bool }
Config represents a client configuration
Click to show internal directories.
Click to hide internal directories.