diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-12-22 00:15:22 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-12-22 15:43:59 +1100 |
commit | da4bf0db942b5f0278f33238b86235e5813d7a5a (patch) | |
tree | d0260f5cd38d2fb4263aeca21a89be38afbba9b4 /readconf.h | |
parent | a34e14a5a0071de2036826a00197ce38c8b4ba8b (diff) |
upstream: add a ssh_config KnownHostsCommand that allows the client
to obtain known_hosts data from a command in addition to the usual files.
The command accepts bunch of %-expansions, including details of the
connection and the offered server host key. Note that the command may
be invoked up to three times per connection (see the manpage for
details).
ok markus@
OpenBSD-Commit-ID: 2433cff4fb323918ae968da6ff38feb99b4d33d0
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.h,v 1.136 2020/12/17 23:10:27 djm Exp $ */ +/* $OpenBSD: readconf.h,v 1.137 2020/12/22 00:15:23 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -169,6 +169,8 @@ typedef struct { int jump_port; char *jump_extra; + char *known_hosts_command; + char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ } Options; |