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>
Этот коммит содержится в:
родитель
5fdfa8fe44
Коммит
4dec2f989c
@ -248,12 +248,14 @@ int ssh_options_set_algo(ssh_session session,
|
|||||||
* The known hosts file is used to certify remote hosts
|
* The known hosts file is used to certify remote hosts
|
||||||
* are genuine.
|
* are genuine.
|
||||||
*
|
*
|
||||||
* - SSH_OPTIONS_IDENTITY:
|
* - SSH_OPTIONS_ADD_IDENTITY (or SSH_OPTIONS_IDENTITY):
|
||||||
* Set the identity file name (const char *,format string).\n
|
* Add a new identity file (const char *, format string) to
|
||||||
|
* the identity list.\n
|
||||||
* \n
|
* \n
|
||||||
* By default identity, id_dsa and id_rsa are checked.\n
|
* By default identity, id_dsa and id_rsa are checked.\n
|
||||||
* \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
|
* It may include "%s" which will be replaced by the
|
||||||
* user home directory.
|
* 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
|
* It may include "%s" which will be replaced by the
|
||||||
* user home directory.
|
* 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:
|
* - SSH_OPTIONS_PROXYCOMMAND:
|
||||||
* Get the proxycommand necessary to log into the
|
* Get the proxycommand necessary to log into the
|
||||||
* remote host. When not explicitly set, it will be read
|
* remote host. When not explicitly set, it will be read
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user