Versions in this module Expand all Collapse all v0 v0.1.1 Apr 25, 2019 Changes in this version + type Sshtool struct + func NewSshtool(ip string, username string, passward string, timeout string) (*Sshtool, error) + func (p *Sshtool) Close() error + func (p *Sshtool) Copy(r io.Reader, remotePath string, permissions string, size int64, verbose bool) error + func (p *Sshtool) CopyFile(fileReader io.Reader, remotePath string, permissions string, verbose bool) error + func (p *Sshtool) Exec(cmd string, verbose bool) error + func (p *Sshtool) Mkdir(path string, verbose bool) error + func (p *Sshtool) OsType(verbose bool) (string, error) + func (p *Sshtool) Query(cmd string, verbose bool) (string, error) + func (p *Sshtool) RmDir(remoteDir string, verbose bool) error + func (p *Sshtool) Sh(shFilePath string, verbose bool) error v0.1.0 Apr 7, 2019