diff options
author | 2020-12-22 00:15:22 +0000 | |
---|---|---|
committer | 2020-12-22 00:15:22 +0000 | |
commit | ed5bd12992d0177d950b623e5a19fbf338754995 (patch) | |
tree | f84403506e4d0487f23e82cd37adff246194e55d /usr.bin/ssh/sshconnect.h | |
parent | move subprocess() from auth.c to misc.c (diff) | |
download | wireguard-openbsd-ed5bd12992d0177d950b623e5a19fbf338754995.tar.xz wireguard-openbsd-ed5bd12992d0177d950b623e5a19fbf338754995.zip |
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@
Diffstat (limited to 'usr.bin/ssh/sshconnect.h')
-rw-r--r-- | usr.bin/ssh/sshconnect.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect.h b/usr.bin/ssh/sshconnect.h index 161056b4d9e..f518a9a1302 100644 --- a/usr.bin/ssh/sshconnect.h +++ b/usr.bin/ssh/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 *); |