summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authorKees Cook <kees@debian.org>2014-02-09 16:10:06 +0000
committerColin Watson <cjwatson@debian.org>2023-10-05 10:41:50 +0100
commit2660ad359cb567d470cef661f4e904dc7f4b7cd6 (patch)
tree49dbfce4129d42279323e62085b8b8e3d2a7b381 /servconf.h
parent3a556dc51239d31e66b78a6094318670cd90f6cc (diff)
Add DebianBanner server configuration option
Setting this to "no" causes sshd to omit the Debian revision from its initial protocol handshake, for those scared by package-versioning.patch. Bug-Debian: http://bugs.debian.org/562048 Forwarded: not-needed Last-Update: 2023-01-02 Patch-Name: debian-banner.patch
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servconf.h b/servconf.h
index 2ce4ae0ad..e0c0af903 100644
--- a/servconf.h
+++ b/servconf.h
@@ -236,6 +236,8 @@ typedef struct {
u_int num_channel_timeouts;
int unused_connection_timeout;
+
+ int debian_banner;
} ServerOptions;
/* Information about the incoming connection as used by Match */