Documentation ¶
Index ¶
- Variables
- func NewClient(creds *Credentials, port string, opts ...func(*ssh.ClientConfig)) (*ssh.Client, error)
- func NewClientConfig(creds *Credentials, opts ...func(*ssh.ClientConfig)) (*ssh.ClientConfig, error)
- func NewSessionHandler(opts SessionOptions, args []string) (SessionHandler, *Destination, error)
- type Credentials
- type Destination
- type SessionHandler
- type SessionOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownHostKey = errors.New("unknown host key")
Functions ¶
func NewClient ¶
func NewClient(creds *Credentials, port string, opts ...func(*ssh.ClientConfig)) (*ssh.Client, error)
func NewClientConfig ¶
func NewClientConfig(creds *Credentials, opts ...func(*ssh.ClientConfig)) (*ssh.ClientConfig, error)
func NewSessionHandler ¶
func NewSessionHandler(opts SessionOptions, args []string) (SessionHandler, *Destination, error)
Types ¶
type Credentials ¶
type Destination ¶
type SessionHandler ¶
Click to show internal directories.
Click to hide internal directories.