Versions in this module Expand all Collapse all v1 v1.3.0 Oct 21, 2020 Changes in this version + type DefaultConfig struct + Key string + KeyPath string + Password string + Port string + Server string + Timeout time.Duration + User string + type MakeConfig struct + Key string + KeyPath string + Password string + Port string + Proxy DefaultConfig + Server string + Timeout time.Duration + User string + func (ssh_conf *MakeConfig) Connect() (*ssh.Session, error) + func (ssh_conf *MakeConfig) Run(command string, timeout ...time.Duration) (outStr string, errStr string, isTimeout bool, err error) + func (ssh_conf *MakeConfig) Scp(sourceFile string, etargetFile string) error + func (ssh_conf *MakeConfig) Stream(command string, timeout ...time.Duration) (<-chan string, <-chan string, <-chan bool, <-chan error, error)