aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahana Prasad <sahana@redhat.com>2021-10-11 12:36:57 +0200
committerJakub Jelen <jjelen@redhat.com>2021-10-11 14:00:36 +0200
commit95539ba0ebe0f71f77c621befb26dd836f0ffd0c (patch)
tree7cdf88bd43f9b60f25da237b1705a5f008350177
parent4a2758ecd6041bf18ab50f215712b54ef46e33cd (diff)
downloadlibssh-95539ba0ebe0f71f77c621befb26dd836f0ffd0c.tar.gz
libssh-95539ba0ebe0f71f77c621befb26dd836f0ffd0c.tar.xz
libssh-95539ba0ebe0f71f77c621befb26dd836f0ffd0c.zip
Adds documentation about the order of processing the IdentityFiles
specified in ~/.ssh/config. Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r--doc/authentication.dox3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/authentication.dox b/doc/authentication.dox
index 3196f645..7d0ab81d 100644
--- a/doc/authentication.dox
+++ b/doc/authentication.dox
@@ -33,6 +33,9 @@ The process of authenticating by public key to a server is the following:
used to authenticate the user).
- then, you retrieve the private key for this key and send a message
proving that you know that private key.
+ - when several identity files are specified, then the order of processing of
+ these files is from the last-mentioned to the first one
+ (if specified in the ~/.ssh/config, then starting from the bottom to the top).
The function ssh_userauth_autopubkey() does this using the available keys in
"~/.ssh/". The return values are the following: