diff options
-rw-r--r-- | src/options.c | 19 |
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 |