Versions in this module Expand all Collapse all v0 v0.2.0 Apr 2, 2019 v0.1.0 Jan 31, 2019 Changes in this version + func NewSSHClientConfig(user string, hostKeyCallback ssh.HostKeyCallback, ...) *ssh.ClientConfig + func StartTestSSHServer(httpServerURL, sshPrivateKey, userName string) string + type DialFunc func(network, address string) (net.Conn, error) + type HostKey struct + func NewHostKey() HostKey + func (h HostKey) Get(username, privateKey, serverURL string) (ssh.PublicKey, error) + type Socks5Proxy struct + func NewSocks5Proxy(hostKey hostKey, logger *log.Logger) *Socks5Proxy + func (s *Socks5Proxy) Addr() (string, error) + func (s *Socks5Proxy) Dialer(username, key, url string) (DialFunc, error) + func (s *Socks5Proxy) Start(username, key, url string) error + func (s *Socks5Proxy) StartWithDialer(dialer DialFunc) error