summaryrefslogtreecommitdiffstats
path: root/readconf.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-12-22 00:15:22 +0000
committerDamien Miller <djm@mindrot.org>2020-12-22 15:43:59 +1100
commitda4bf0db942b5f0278f33238b86235e5813d7a5a (patch)
treed0260f5cd38d2fb4263aeca21a89be38afbba9b4 /readconf.h
parenta34e14a5a0071de2036826a00197ce38c8b4ba8b (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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h
index 268dbf17..85ea2e11 100644
--- a/readconf.h
+++ b/readconf.h
@@ -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;