Documentation
¶
Index ¶
- func GetProxyList(server string, config conf.Config) (proxyList []string, proxyType map[string]string, err error)
- func ParseScpPath(arg string) (hostType string, path string, result bool)
- type Connect
- func (c *Connect) ConTerm(session *ssh.Session) (err error)
- func (c *Connect) CreateSession() (session *ssh.Session, err error)
- func (c *Connect) RunCmd(session *ssh.Session, command []string) (err error)
- func (c *Connect) RunCmdGetOutput(session *ssh.Session, command []string, outputChan chan string)
- type CopyConInfo
- type Proxy
- type Run
- type RunScp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connect ¶ added in v0.5.0
func (*Connect) CreateSession ¶ added in v0.5.0
@brief: create ssh session
type CopyConInfo ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.