Versions in this module Expand all Collapse all v0 v0.5.0 Oct 1, 2015 Changes in this version + var DialFunc = ssh.Dial + type Client struct + Dialer Dialer + SSHSessionFactory SSHSessionFactory + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func New(user, authUser, authPassword, address string) (*Client, error) + func (c *Client) Forward(localConn io.ReadWriteCloser, remoteAddress string) error + func (c *Client) Open(width, height int, desirePTY bool) (*Session, error) + type CryptoSSHSessionFactory struct + Client *ssh.Client + func (c *CryptoSSHSessionFactory) New() (SSHSession, error) + type Dialer interface + Dial func(n, addr string) (net.Conn, error) + type SSHSession interface + RequestPty func(term string, h, w int, termmodes ssh.TerminalModes) error + SendRequest func(name string, wantReply bool, payload []byte) (bool, error) + StderrPipe func() (io.Reader, error) + StdinPipe func() (io.WriteCloser, error) + StdoutPipe func() (io.Reader, error) + type SSHSessionFactory interface + New func() (SSHSession, error) + type Session struct + KeepAliveTicker *time.Ticker + func (s *Session) KeepAlive() (stopChan chan<- struct{}) + func (s *Session) Resize(width, height int) error