Versions in this module Expand all Collapse all v1 v1.1.0 Nov 22, 2022 Changes in this version + func PublicKeyFile(file string) ssh.AuthMethod + func SSHAgent(sshAuth string) ssh.AuthMethod + type Endpoint struct + Host string + Port int + func (endpoint *Endpoint) String() string + type SSHClient struct + Config *ssh.ClientConfig + Server *Endpoint + TerminalConfig *SSHTerminal + func (client *SSHClient) Connect() error + func (client *SSHClient) RunCommand(cmd *SSHCommand) error + type SSHCommand struct + Env []string + Path string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + type SSHTerminal struct + Columns int + Echo uint32 + Rows int + TtyOpInputSpeed uint32 + TtyOpOutputSpeed uint32 + type SSHTunnel struct + Config *ssh.ClientConfig + Local *Endpoint + Remote *Endpoint + Server *Endpoint + func (tunnel *SSHTunnel) Start() error v1.0.2 Sep 2, 2022 v1.0.1 Aug 15, 2022 v1.0.0 Jul 6, 2022