diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2023-01-13 02:58:20 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-01-13 14:09:32 +1100 |
commit | 41f36dd896c8fb8337d403fcf476762986976e9d (patch) | |
tree | eeb3a61acba14b92f542d98ab864f238adb9b0e5 /readconf.h | |
parent | f673b49f3be3eb51074fbb8a405beb6cd0f7d93e (diff) |
upstream: 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@
OpenBSD-Commit-ID: 59c0f60a222113a44d0650cd394376e3beecc883
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |