summaryrefslogtreecommitdiffstats
path: root/readconf.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2022-11-28 02:37:36 +0100
committerDarren Tucker <dtucker@dtucker.net>2022-11-30 02:16:08 +0100
commitf7cebbbf407d772ed71403d314343766782fe540 (patch)
treedfda77bb010623650d4ae80ae539d6542e52641d /readconf.h
parentupstream: In channel_request_remote_forwarding the parameters for (diff)
downloadopenssh-f7cebbbf407d772ed71403d314343766782fe540.tar.xz
openssh-f7cebbbf407d772ed71403d314343766782fe540.zip
upstream: New EnableEscapeCommandline ssh_config(5) option
This option (default "no") controls whether the ~C escape is available. Turning it off by default means we will soon be able to use a stricter default pledge(2) in the client. feedback deraadt@ dtucker@; tested in snaps for a while OpenBSD-Commit-ID: 7e277595d60acb8263118dcb66554472257b387a
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h
index ffb5ec4f2..5c19a1206 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.h,v 1.148 2022/09/17 10:33:18 djm Exp $ */
+/* $OpenBSD: readconf.h,v 1.149 2022/11/28 01:37:36 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -177,6 +177,7 @@ typedef struct {
char *known_hosts_command;
int required_rsa_size; /* minimum size of RSA keys */
+ int enable_escape_commandline; /* ~C commandline */
char *ignored_unknown; /* Pattern list of unknown tokens to ignore */
} Options;