diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2023-01-13 02:58:21 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2023-01-13 02:58:21 +0000 |
commit | d6b05c545ea004660e40f5ad99770b1be590955f (patch) | |
tree | b28896b92bf564b3d861df15132bbee6dfa33c81 /usr.bin/ssh/readconf.h | |
parent | 8a0e7034344edc3c6ab1e5116a8fa9e94e60a6e2 (diff) |
Add a "Host" line to the output of ssh -G showing the original host arg.
Inspired by patch from vincent at bernat.ch via bz#3343, ok djm@
Diffstat (limited to 'usr.bin/ssh/readconf.h')
-rw-r--r-- | usr.bin/ssh/readconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/readconf.h b/usr.bin/ssh/readconf.h index 5c19a12066c..2ce1b4c332e 100644 --- a/usr.bin/ssh/readconf.h +++ b/usr.bin/ssh/readconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.h,v 1.149 2022/11/28 01:37:36 djm Exp $ */ +/* $OpenBSD: readconf.h,v 1.150 2023/01/13 02:58:20 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -28,6 +28,7 @@ struct allowed_cname { }; typedef struct { + char *host_arg; /* Host arg as specified on command line. */ int forward_agent; /* Forward authentication agent. */ char *forward_agent_sock_path; /* Optional path of the agent. */ int forward_x11; /* Forward X11 display. */ |