Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHClient ¶
func NewSSHClient ¶
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.
func (*SSHClient) CopyFromRemoteServer ¶
CopyFromRemoteServer uses sftp to copy a file from a remotes server to a local directory.
Click to show internal directories.
Click to hide internal directories.