Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ConfigHost is the hostname or IP address to connect to. ConfigHost = "host" // ConfigPort is the numeric port number the ssh daemon is listening on. ConfigPort = "port" // ConfigUsername is the username of the user to connect as. ConfigUsername = "username" // ConfigPassword is the password use to authentiate with. Can be used instead // of a private key (if your server allows this). ConfigPassword = "password" // ConfigPrivateKey is a private ssh key to use to authenticate. These are the // bytes representing the key, not the path on disk to the key file. ConfigPrivateKey = "private_key" // ConfigPrivateKeyPassphrase is an optional passphrase to use with the private key. ConfigPrivateKeyPassphrase = "private_key_passphrase" // ConfigHostPublicKey is the public host key (in the same format as would be // found in the known_hosts file). If this is not specified, or is set to an // empty string, the host key validation will be disabled. ConfigHostPublicKey = "host_public_key" // ConfigBasePath is the path to the root folder on the remote server. It can be // relative to the user's home directory, or an absolute path. If not set, or // set to an empty string, the user's home directory will be used. ConfigBasePath = "base_path" )
View Source
const Kind = "sftp"
Kind represents the name of the location/storage type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.