version 1.339, 2020/12/22 00:15:23 |
version 1.340, 2020/12/22 07:40:26 |
|
|
The list of available key exchange algorithms may also be obtained using |
The list of available key exchange algorithms may also be obtained using |
.Qq ssh -Q kex . |
.Qq ssh -Q kex . |
.It Cm KnownHostsCommand |
.It Cm KnownHostsCommand |
Specifies a command to use to obtain a list of host keys, additional to |
Specifies a command to use to obtain a list of host keys, in addition to |
those listed in |
those listed in |
.Cm UserKnownHostsFile |
.Cm UserKnownHostsFile |
and |
and |
.Cm GlobalKnownHostsFile . |
.Cm GlobalKnownHostsFile . |
This command is executed after the files have been read. |
This command is executed after the files have been read. |
It may write host keys lines to standard output in identical format to the |
It may write host key lines to standard output in identical format to the |
usual files (described in the |
usual files (described in the |
.Sx VERIFYING HOST KEYS |
.Sx VERIFYING HOST KEYS |
section in |
section in |
|
|
accept the tokens described in the |
accept the tokens described in the |
.Sx TOKENS |
.Sx TOKENS |
section. |
section. |
The command may be invoked multiple times per connection: when preparing |
The command may be invoked multiple times per connection: once when preparing |
the preference list of host key algorithms to use, again to obtain the |
the preference list of host key algorithms to use, again to obtain the |
host key for the requested host name and, if |
host key for the requested host name and, if |
.Cm CheckHostIP |
.Cm CheckHostIP |
|
|
hostname or address that is being searched for. |
hostname or address that is being searched for. |
.It %h |
.It %h |
The remote hostname. |
The remote hostname. |
.It %I |
.It \%%I |
A string describing the reason for a |
A string describing the reason for a |
.Cm KnownHostsCommand |
.Cm KnownHostsCommand |
execution; either |
execution: either |
.Cm "ADDRESS" |
.Cm ADDRESS |
when looking up a host by address (only when |
when looking up a host by address (only when |
.Cm CheckHostIP |
.Cm CheckHostIP |
is enabled), |
is enabled), |
.Cm "HOSTNAME" |
.Cm HOSTNAME |
when searching by hostname or |
when searching by hostname, or |
.Cm "ORDER" |
.Cm ORDER |
when preparing the host key algorithm preference list to use for the |
when preparing the host key algorithm preference list to use for the |
destination host. |
destination host. |
.It %i |
.It %i |