Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSHClient ¶
func NewSSHClient(user, privateKey, ip, port string) (interfaces.SSHInterface, error)
NewSSHClient creates a new ssh connection to a remote server. It will attempt to connect up to 10 times with a 10-second gap to prevent a crash should the first attempt fail while the server is booting.
Types ¶
Click to show internal directories.
Click to hide internal directories.