summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keysign.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2013-10-14 22:22:02 +0000
committerdjm <djm@openbsd.org>2013-10-14 22:22:02 +0000
commit78b8e6028e7df8f2e30e4f2eaafbe7ed3f8b02e5 (patch)
tree47ddca5f17a183d3310c599470d0229f9f2548ce /usr.bin/ssh/ssh-keysign.c
parentAdd logging of session starts in a useful format; ok markus@ feedback and (diff)
downloadwireguard-openbsd-78b8e6028e7df8f2e30e4f2eaafbe7ed3f8b02e5.tar.xz
wireguard-openbsd-78b8e6028e7df8f2e30e4f2eaafbe7ed3f8b02e5.zip
add a "Match" keyword to ssh_config that allows matching on hostname,
user and result of arbitrary commands. "nice work" markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r--usr.bin/ssh/ssh-keysign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c
index 822cc291ead..e0602b26a56 100644
--- a/usr.bin/ssh/ssh-keysign.c
+++ b/usr.bin/ssh/ssh-keysign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keysign.c,v 1.37 2013/05/17 00:13:14 djm Exp $ */
+/* $OpenBSD: ssh-keysign.c,v 1.38 2013/10/14 22:22:04 djm Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -179,7 +179,7 @@ main(int argc, char **argv)
/* verify that ssh-keysign is enabled by the admin */
initialize_options(&options);
- (void)read_config_file(_PATH_HOST_CONFIG_FILE, "", &options, 0);
+ (void)read_config_file(_PATH_HOST_CONFIG_FILE, pw, "", &options, 0);
fill_default_options(&options);
if (options.enable_ssh_keysign != 1)
fatal("ssh-keysign not enabled in %s",