Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + type SSHClient struct + func (c *SSHClient) Close() (bool, error) + func (c *SSHClient) Connect(host string, port int, username, password string) (bool, error) + func (c *SSHClient) ConnectSSHInfoMode(host string, port int) (*ssh.HandshakeLog, error) + func (c *SSHClient) ConnectWithKey(host string, port int, username, key string) (bool, error) + func (c *SSHClient) Run(cmd string) (string, error) + func (c *SSHClient) SetTimeout(sec int)