Versions in this module Expand all Collapse all v0 v0.1.5 Nov 26, 2021 v0.1.4 Nov 25, 2021 Changes in this version + const DefaultPort + func Dial(target string, config *ssh.ClientConfig, port int) (*session.Session, error) + func DialSSHTimeout(target string, config *ssh.ClientConfig, timeout time.Duration) (*session.Session, error) + func NewSSHSession(conn net.Conn, config *ssh.ClientConfig) (*session.Session, error) + func SSHConfigPassword(user string, pass string) *ssh.ClientConfig + func SSHConfigPubKeyAgent(user string) (*ssh.ClientConfig, error) + func SSHConfigPubKeyFile(user string, file string, passphrase string) (*ssh.ClientConfig, error) + type TransportSSH struct + SSHClient *ssh.Client + SSHSession *ssh.Session + func (t *TransportSSH) Close() error + func (t *TransportSSH) DialSSH(target string, config *ssh.ClientConfig, port int) error + func (t *TransportSSH) SetupSession() error