Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + var ErrHandshakeTimeout = fmt.Errorf("Timeout during SSH handshake") + func BastionConnectFunc(bProto string, bAddr string, bConf *ssh.ClientConfig, proto string, ...) func() (net.Conn, error) + func ConnectFunc(network, addr string) func() (net.Conn, error) + func New(address string, config *Config) (result *comm, err error) + func PasswordKeyboardInteractive(password string) ssh.KeyboardInteractiveChallenge + func ProxyConnectFunc(socksProxy string, socksAuth *proxy.Auth, network, addr string) func() (net.Conn, error) + type Config struct + Connection func() (net.Conn, error) + DisableAgentForwarding bool + HandshakeTimeout time.Duration + KeepAliveInterval time.Duration + Pty bool + SSHConfig *ssh.ClientConfig + Timeout time.Duration + UseSftp bool