From 4dec2f989c41a7e603d6dae8a55ec858aa569637 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 13 Nov 2017 14:48:23 +0100 Subject: options: Move SSH_OPTIONS_ADD_IDENTITY to *set() function description Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/options.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'src') 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 -- cgit v1.2.3