Versions in this module Expand all Collapse all v1 v1.0.1 Apr 8, 2024 v1.0.0 Jun 8, 2021 Changes in this version + func TrimSpaceNewlineInString(s string, expr string) string + type SSHClient struct + Client *ssh.Client + Cmd string + Config *ssh.ClientConfig + Env []string + Host string + Password string + Port int + PrivateKeyFile string + Session *ssh.Session + Stderr string + Stdout string + Timeout int + User string + func (client *SSHClient) PublicKeyFile(file string) ssh.Signer + func (client *SSHClient) Run(ctx context.Context, cmd string) error