Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Defaults HostParams `yaml:"defaults,omitempty"` Hosts []HostParams `yaml:"hosts,omitempty"` KnownHostsFilename string `yaml:"-"` }
func LoadConfig ¶
type GssAPIParams ¶
type HostParams ¶
type HostParams struct { Name string `yaml:"name,omitempty"` Port uint16 `yaml:"port,omitempty"` User string `yaml:"user,omitempty"` IdentityFile string `yaml:"identityFile,omitempty"` PreferredAuth []string `yaml:"preferredAuthentications,omitempty"` Aliases []string `yaml:"aliases,omitempty"` Pattern string `yaml:"pattern,omitempty"` Replace string `yaml:"replace,omitempty"` GssAPI *GssAPIParams `yaml:"gssApi,omitempty"` JumpHost string `yaml:"jumpHost,omitempty"` HttpProxy *HttpProxyParams `yaml:"httpProxy,omitempty"` Timeout time.Duration `yaml:"timeout,omitempty"` InsecureIgnoreHostKey bool `yaml:"ignoreHostKey,omitempty"` }
func DefaultHostParams ¶
func DefaultHostParams() HostParams
type HttpProxyAuthParams ¶
type HttpProxyParams ¶
type HttpProxyParams struct { Host string `yaml:"host"` Port uint16 `yaml:"port"` Auth *HttpProxyAuthParams `yaml:"auth"` }
Click to show internal directories.
Click to hide internal directories.