aboutsummaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-03-03 20:07:16 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-03-03 20:07:16 +0100
commit4d43fbfb50710055352c4fda812b6dc98143d336 (patch)
treeab5c345872c9646b32a1f87b442c830afcf0e899 /src/options.c
parent4e6ff36a9a3aef72aa214f6fb267c28953b80060 (diff)
downloadlibssh-4d43fbfb50710055352c4fda812b6dc98143d336.tar.gz
libssh-4d43fbfb50710055352c4fda812b6dc98143d336.tar.xz
libssh-4d43fbfb50710055352c4fda812b6dc98143d336.zip
options: Document SSH_OPTIONS_ADD_IDENTITY
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index d6fad08d..791d8cb4 100644
--- a/src/options.c
+++ b/src/options.c
@@ -925,6 +925,17 @@ int ssh_options_get_port(ssh_session session, unsigned int* port_target) {
* It may include "%s" which will be replaced by the
* user home directory.
*
+ * - SSH_OPTIONS_ADD_IDENTITY:
+ * Add a new identity file (const char *,format string) to
+ * the identity list.\n
+ * \n
+ * By default identity, id_dsa and id_rsa are checked.\n
+ * \n
+ * The identity used authenticate with public key will be
+ * prepended to the list.
+ * It may include "%s" which will be replaced by the
+ * user home directory.
+ *
* - SSH_OPTIONS_PROXYCOMMAND:
* Get the proxycommand necessary to log into the
* remote host. When not explicitly set, it will be read