Documentation ¶
Index ¶
- func CreateSSHClient(host string, password []byte) (*ssh.Client, error)
- func RunCommand(client *ssh.Client, command string, inputs ...string) (string, error)
- func RunSudoCommands(client *ssh.Client, password []byte, commands ...string) (string, error)
- func ScpDownloadFile(client *ssh.Client, path string) (string, error)
- func ScpUpload(client *ssh.Client, localPath string, remotePath string, password []byte, ...) error
- func ScpUploadData(client *ssh.Client, data string, filePath string, password []byte) error
- type FilterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
func RunSudoCommands ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.