Documentation ¶
Overview ¶
Package ssh contains utilities that help gather logs, etc. on failures using ssh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateSSHKeys ¶
LoadPrivateSSHKeys try to optimistically load PRIVATE SSH keys from the all paths.
func NewClient ¶
NewClient creates a new SSH client which can be used to SSH to address using user and the keys.
if keys list is empty, it tries to load the keys from the user's environment.
func PullFileTo ¶
PullFileTo downloads the file from remote server using SSH connection and writes to localPath.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.