Documentation ¶ Index ¶ func New(opts ...Option) *client type Option func Auth(username, password string) Option func AuthPrivateKey(username string, signer ssh.Signer) Option func Host(addr string) Option func Network(nw string) Option func Timeout(t time.Duration) Option type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opts ...Option) *client Types ¶ type Option ¶ type Option func(*Options) func Auth ¶ func Auth(username, password string) Option func AuthPrivateKey ¶ func AuthPrivateKey(username string, signer ssh.Signer) Option func Host ¶ func Host(addr string) Option func Network ¶ func Network(nw string) Option func Timeout ¶ func Timeout(t time.Duration) Option type Options ¶ type Options struct { ssh.ClientConfig // contains filtered or unexported fields } Source Files ¶ View all Source files io.go options.go ssh.go Click to show internal directories. Click to hide internal directories.