Documentation ¶
Index ¶
- func CheckRemotePortOpen(host string, port int) error
- func RemoteSSHBashScript(host string, port int, username string, passwd string, ...) (string, error)
- func RemoteSSHCommand(host string, port int, username string, passwd string, privateKey, cmd string) (string, error)
- func WaitRemotePortOpen(host string, port int, interval, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRemotePortOpen ¶
func RemoteSSHBashScript ¶
func RemoteSSHBashScript(host string, port int, username string, passwd string, privateKey, content string) (string, error)
RemoteSSHBashScript executes command on remote machine
func RemoteSSHCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.