Versions in this module Expand all Collapse all v1 v1.0.0 Mar 10, 2023 Changes in this version + type SSHExecutor struct + func NewSSHExecutorServer(host string, port int, user, password string, cfg *config.Config, ...) *SSHExecutor + func (s *SSHExecutor) Close() error + func (s *SSHExecutor) Connect(timeout time.Duration) error + func (s *SSHExecutor) Execute(command string) (string, string, error) + func (s *SSHExecutor) PrepareStreams(session *ssh.Session, rsOut, rsErr io.Writer) (stdout io.Reader, stderr io.Reader, err error)