From da4bf0db942b5f0278f33238b86235e5813d7a5a Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Tue, 22 Dec 2020 00:15:22 +0000 Subject: 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 --- sshconnect.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sshconnect.h') diff --git a/sshconnect.h b/sshconnect.h index 161056b4..f518a9a1 100644 --- a/sshconnect.h +++ b/sshconnect.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.h,v 1.45 2020/12/20 23:40:19 djm Exp $ */ +/* $OpenBSD: sshconnect.h,v 1.46 2020/12/22 00:15:23 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -88,3 +88,7 @@ int ssh_local_cmd(const char *); void maybe_add_key_to_agent(const char *, struct sshkey *, const char *, const char *); + +void load_hostkeys_command(struct hostkeys *, const char *, + const char *, const struct ssh_conn_info *, + const struct sshkey *, const char *); -- cgit v1.2.1