Documentation ¶
Overview ¶
ssh
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSH ¶
type SSH struct { Host string `json:"host"` Port int `json:"port"` User string `json:"user"` Password string `json:"password"` KeyPath string `json:"keyPath"` KeyPathPasswd string `json:"keyPathPasswd"` KeyStrByte []byte // 字节密钥 // contains filtered or unexported fields }
func (*SSH) RunCmdsParallel ¶
运行一组命令,并行执行,结果顺序与命令顺序一致
Click to show internal directories.
Click to hide internal directories.