Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Get ¶
Get copies the file from the remote host to the local host, using scp. Wildcards are not currently supported.
type Config ¶
type Config struct { User string `json:"user,omitempty"` Password string `json:"password,omitempty"` Host string `json:"host"` // The file names of additional key files to use for authentication (~/.ssh/id_rsa is defaulted). // RSA (PKCS#1), DSA (OpenSSL), and ECDSA private keys are supported. KeyFiles []string `json:"key_files,omitempty"` }
Click to show internal directories.
Click to hide internal directories.