aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2017-11-13 14:48:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-12-21 12:38:23 +0100
commit4dec2f989c41a7e603d6dae8a55ec858aa569637 (patch)
treea7263f2b41ff5c45b8d071724de8bf6c9d954e29
parent5fdfa8fe444b30a8a2c8b5eea70ed6f475caf500 (diff)
downloadlibssh-4dec2f989c41a7e603d6dae8a55ec858aa569637.tar.gz
libssh-4dec2f989c41a7e603d6dae8a55ec858aa569637.tar.xz
libssh-4dec2f989c41a7e603d6dae8a55ec858aa569637.zip
options: Move SSH_OPTIONS_ADD_IDENTITY to *set() function description
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/options.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/options.c b/src/options.c
index 3fd0ae35..bc6033cb 100644
--- a/src/options.c
+++ b/src/options.c
@@ -248,12 +248,14 @@ int ssh_options_set_algo(ssh_session session,
* The known hosts file is used to certify remote hosts
* are genuine.
*
- * - SSH_OPTIONS_IDENTITY:
- * Set the identity file name (const char *,format string).\n
+ * - SSH_OPTIONS_ADD_IDENTITY (or SSH_OPTIONS_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 file used authenticate with public key.
+ * The identity used to authenticate with public key will be
+ * prepended to the list.
* It may include "%s" which will be replaced by the
* user home directory.
*
@@ -1004,17 +1006,6 @@ 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