Adds documentation about the order of processing the IdentityFiles

specified in ~/.ssh/config.

Signed-off-by: Sahana Prasad <>
Reviewed-by: Jakub Jelen <>
This commit is contained in:
Sahana Prasad 2021-10-11 12:36:57 +02:00 committed by Jakub Jelen
parent 4a2758ecd6
commit 95539ba0eb

View File

@ -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: