Specifies the UNIX-domain socket used to communicate with the authentication agent. This option overrides the SSH_AUTH_SOCK environment variable and can be used to select a specific agent. Arguments to
SFTP private key file used for authentication.
+SFTP private key file used for authentication. The
NOTE: If .pub
to the private key path and paired with it's private key for authentication. If it is specified, then it will be paired with each private key to attempt authentication.
NOTE: libssh2 versions before 1.9.0 expect a PEM format keypair, ssh-keygen -m PEM -t rsa -P will generate a PEM keypair without a passphrase.
Passphrase used to access the private key. This is an optional feature when creating an SSH public/private key pair.
+Passphrase used to access the private key. This is an optional feature when creating an SSH public/private key pair. If specified, it will be used with each key.
SFTP public key file used for authentication. Optional if compiled against OpenSSL, required if compiled against a different library.
+SFTP public key file used for authentication. Optional if compiled against OpenSSL, required if compiled against a different library. If a public key file is specified, it will be paired with each private key file during authentication.
+NOTE: libssh2 versions before 1.9.0 expect a PEM format keypair, ssh-keygen -m PEM -t rsa -P will generate a PEM keypair without a passphrase.
When enabled, if not already authenticated via a private key file, an attempt will be made to authenticate via ssh-agent. The default agent is read from the SSH_AUTH_SOCK environment variable. The default agent may be overridden by using the