Documentation ¶
Index ¶
- func Agent() ssh.AuthMethod
- func Broker(hostList *HostList, input <-chan string, sent chan<- bool)
- func Connection(hostname string) (connection *ssh.Client, err error)
- func PublicKeyFile(privateKey string) ssh.AuthMethod
- func Session(connection *ssh.Client, host *Host) (stdin io.WriteCloser, session *ssh.Session, err error)
- type Host
- type HostList
- type ProxyWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Agent ¶
func Agent() ssh.AuthMethod
func PublicKeyFile ¶
func PublicKeyFile(privateKey string) ssh.AuthMethod
Types ¶
type HostList ¶
type HostList struct {
// contains filtered or unexported fields
}
func NewHostList ¶
func NewHostList() *HostList
type ProxyWriter ¶
type ProxyWriter struct {
// contains filtered or unexported fields
}
func NewProxyWriter ¶
func NewProxyWriter(file *os.File, host *Host) *ProxyWriter
Click to show internal directories.
Click to hide internal directories.